mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2522 SetupPage log methods : fix phpdoc, remove deprecated methods calls
This commit is contained in:
@@ -73,25 +73,25 @@ class SetupPage extends NiceWebPage
|
||||
public function info($sText)
|
||||
{
|
||||
$this->add("<p class=\"info\">$sText</p>\n");
|
||||
$this->log_info($sText);
|
||||
SetupLog::Info($sText);
|
||||
}
|
||||
|
||||
public function ok($sText)
|
||||
{
|
||||
$this->add("<div class=\"message message-valid\"><span class=\"message-title\">Success:</span>$sText</div>");
|
||||
$this->log_ok($sText);
|
||||
SetupLog::Ok($sText);
|
||||
}
|
||||
|
||||
public function warning($sText)
|
||||
{
|
||||
$this->add("<div class=\"message message-warning\"><span class=\"message-title\">Warning:</span>$sText</div>");
|
||||
$this->log_warning($sText);
|
||||
SetupLog::Warning($sText);
|
||||
}
|
||||
|
||||
public function error($sText)
|
||||
{
|
||||
$this->add("<div class=\"message message-error\">$sText</div>");
|
||||
$this->log_error($sText);
|
||||
SetupLog::Error($sText);
|
||||
}
|
||||
|
||||
public function form($aData)
|
||||
@@ -195,7 +195,7 @@ class SetupPage extends NiceWebPage
|
||||
}
|
||||
|
||||
/**
|
||||
* deprecated 3.0.0 use SetupLog::Ok
|
||||
* @deprecated 3.0.0 use SetupLog::Ok
|
||||
*/
|
||||
public static function log_ok($sText)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user