mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
🔊 N°3731 Log calls to deprecated files / PHP methods
POC for the log API was added in #193
This commit is contained in:
@@ -1193,6 +1193,8 @@ class WebPage implements Page
|
||||
*/
|
||||
public function GetUniqueId()
|
||||
{
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use utils::GetUniqueId() instead');
|
||||
|
||||
return utils::GetUniqueId();
|
||||
}
|
||||
|
||||
@@ -1465,7 +1467,8 @@ EOD
|
||||
*/
|
||||
public function StartCollapsibleSection($sSectionLabel, $bOpenedByDefault = false, $sSectionStateStorageBusinessKey = '')
|
||||
{
|
||||
$this->add($this->GetStartCollapsibleSection($sSectionLabel, $bOpenedByDefault, $sSectionStateStorageBusinessKey));
|
||||
DeprecatedCallsLog::NotifyDeprecatedPhpMethod('use \\Combodo\\iTop\\Application\\UI\\Base\\Component\\CollapsibleSection\\CollapsibleSection');
|
||||
$this->add($this->GetStartCollapsibleSection($sSectionLabel, $bOpenedByDefault, $sSectionStateStorageBusinessKey));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user