diff options
author | Simon Rettberg | 2022-05-02 18:49:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-02 18:49:09 +0200 |
commit | 5eb8df7432a708284862e4b126e418265d36b4ab (patch) | |
tree | d8812cc2bd6245e0b02ca6866a4c14e977e1bb62 /modules-available/dozmod/page.inc.php | |
parent | [rebootcontrol] Show time of execution for WOL/reboot/shutdown (diff) | |
download | slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.tar.gz slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.tar.xz slx-admin-5eb8df7432a708284862e4b126e418265d36b4ab.zip |
[inc/Util] Add types, move error printing functions to their own class
Diffstat (limited to 'modules-available/dozmod/page.inc.php')
-rw-r--r-- | modules-available/dozmod/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/dozmod/page.inc.php b/modules-available/dozmod/page.inc.php index cf6e4857..a38c9d9d 100644 --- a/modules-available/dozmod/page.inc.php +++ b/modules-available/dozmod/page.inc.php @@ -22,7 +22,7 @@ class Page_DozMod extends Page break; } } elseif (!in_array($this->section, $this->validSections)) { - Util::traceError('Invalid section: ' . $this->section); + ErrorHandler::traceError('Invalid section: ' . $this->section); } // Check permissions User::assertPermission($this->section . '.*'); |