Fix on ready script

This commit is contained in:
acognet
2021-09-02 12:17:07 +02:00
parent 72d7758259
commit 034516d0ef

View File

@@ -60,8 +60,6 @@ class UnauthenticatedWebPage extends NiceWebPage
// TODO 3.0 Find a clever way to allow theme customization for unauthenticated webpages
private $sCustomThemeUrl;
/** @var array $aReadyScripts */
protected $aReadyScripts;
/**
* @inheritDoc
@@ -71,7 +69,6 @@ class UnauthenticatedWebPage extends NiceWebPage
{
parent::__construct($s_title, $bPrintable);
$this->aReadyScripts = array();
$this->sContent = '';
$this->sPanelTitle = '';
$this->sPanelIcon = utils::GetAbsoluteUrlAppRoot().'images/itop-logo.png';
@@ -109,14 +106,6 @@ class UnauthenticatedWebPage extends NiceWebPage
$this->sContent .= $sHtml;
}
/**
* @inheritdoc
*/
public function add_ready_script($sScript)
{
$this->aReadyScripts[] = $sScript;
}
/**
* @inheritdoc
*/