mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 03:28:45 +02:00
N°3393 - Remove WebPages deprecated in 3.0.0
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/AjaxPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
// cannot notify depreciation for now as this is still load in autoloader
|
|
||||||
//DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/AjaxPage.php, now loadable using autoloader');
|
|
||||||
use Combodo\iTop\Application\WebPage\AjaxPage;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Class ajax_page
|
|
||||||
*
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to AjaxPage
|
|
||||||
*/
|
|
||||||
class ajax_page extends AjaxPage
|
|
||||||
{
|
|
||||||
function __construct($s_title)
|
|
||||||
{
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('ajax_page is deprecated. Please use AjaxPage instead');
|
|
||||||
parent::__construct($s_title);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/CaptureWebPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/CaptureWebPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/CLIPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/CLIPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/CSVPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/CSVPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/ErrorPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/ErrorPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/iTopWebPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
// cannot notify depreciation for now as this is still MASSIVELY used in iTop core !
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/iTopWebPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/iTopWizardWebPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/iTopWizardWebPage.php, now loadable using autoloader');
|
|
||||||
@@ -90,16 +90,7 @@ function _MaintenanceJsonMessage($sTitle, $sMessage)
|
|||||||
|
|
||||||
$oP->AddData($aMessage);
|
$oP->AddData($aMessage);
|
||||||
$oP->Output();
|
$oP->Output();
|
||||||
} else {
|
|
||||||
@include_once(APPROOT."/application/ajaxwebpage.class.inc.php");
|
|
||||||
if (class_exists('ajax_page')) {
|
|
||||||
$oP = new ajax_page($sTitle);
|
|
||||||
$oP->add_header('Access-Control-Allow-Origin: *');
|
|
||||||
$oP->SetContentType('application/json');
|
|
||||||
$oP->add('{"code":100, "message":"'.$sMessage.'"}');
|
|
||||||
$oP->Output();
|
|
||||||
} else {
|
} else {
|
||||||
_MaintenanceTextMessage($sMessage);
|
_MaintenanceTextMessage($sMessage);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/NiceWebPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/NiceWebPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/PDFPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/PDFPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/WebPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/WebPage.php, now loadable using autoloader');
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0.0 will be removed in 3.1.0 - moved to sources/Application/WebPage/XMLPage.php, now loadable using autoloader
|
|
||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
|
||||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
|
||||||
*/
|
|
||||||
|
|
||||||
DeprecatedCallsLog::NotifyDeprecatedFile('moved to sources/Application/WebPage/XMLPage.php, now loadable using autoloader');
|
|
||||||
@@ -283,8 +283,6 @@ try {
|
|||||||
switch ($sTargetRoute) {
|
switch ($sTargetRoute) {
|
||||||
case 'inform_after_setup':
|
case 'inform_after_setup':
|
||||||
// Hidden IFRAME at the end of the setup
|
// Hidden IFRAME at the end of the setup
|
||||||
require_once (APPROOT.'/application/ajaxwebpage.class.inc.php');
|
|
||||||
|
|
||||||
$sParamToken = utils::ReadParam('setup_token');
|
$sParamToken = utils::ReadParam('setup_token');
|
||||||
$oTokenValidation = new TokenValidation();
|
$oTokenValidation = new TokenValidation();
|
||||||
$bIsTokenValid = $oTokenValidation->isSetupTokenValid($sParamToken);
|
$bIsTokenValid = $oTokenValidation->isSetupTokenValid($sParamToken);
|
||||||
|
|||||||
Reference in New Issue
Block a user