mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°4720 - Remove old unreferenced methods or pages that are @deprecated (#747)
* N°4720 - Remove old unreferenced methods that are @deprecated * N°4720-Config addson getter/setter removal * small deprecation removal * revert @deprecation 3.3 removal: ResizeImageToFit * small deprecation removal * revert deprecation 3.3 removal: Config/GSetAddons
This commit is contained in:
@@ -1280,29 +1280,6 @@ class ModelFactory
|
||||
$this->aDict = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* XML load errors (XML format and validation)
|
||||
*
|
||||
* @Deprecated Errors are now sent by Exception
|
||||
*/
|
||||
function HasLoadErrors()
|
||||
{
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('Errors are now sent by Exception');
|
||||
|
||||
return (count(self::$aLoadErrors) > 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Deprecated Errors are now sent by Exception
|
||||
* @return array
|
||||
*/
|
||||
function GetLoadErrors()
|
||||
{
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('Errors are now sent by Exception');
|
||||
|
||||
return self::$aLoadErrors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $aErrors
|
||||
*
|
||||
@@ -2124,7 +2101,7 @@ class MFElement extends Combodo\iTop\DesignElement
|
||||
*/
|
||||
public function IsInDefinition()
|
||||
{
|
||||
// Iterate through the parents: reset the flag if any of them has a flag set
|
||||
// Iterate through the parents: reset the flag if any of them has a flag set
|
||||
for ($oParent = $this; $oParent instanceof MFElement; $oParent = $oParent->parentNode)
|
||||
{
|
||||
if ($oParent->GetAlteration() != '')
|
||||
|
||||
Reference in New Issue
Block a user