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:
odain-cbd
2025-09-11 15:52:00 +02:00
committed by GitHub
parent d728be119c
commit 696e2c9565
27 changed files with 126 additions and 1135 deletions

View File

@@ -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() != '')