Changeset 888 for trunk/Modules/Log/Log.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Log/Log.php
r884 r888 1 1 <?php 2 2 3 class ModuleLog extends AppModule3 class ModuleLog extends Module 4 4 { 5 5 var $Excludes; … … 18 18 } 19 19 20 function DoStart() 21 { 22 $this->System->RegisterPage( 'log', 'PageLog');20 function DoStart(): void 21 { 22 $this->System->RegisterPage(['log'], 'PageLog'); 23 23 $this->System->ModuleManager->Modules['Error']->OnError[] = array($this, 'DoAddItem'); 24 24 $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Logs'), … … 109 109 } 110 110 111 function Show() 111 function Show(): string 112 112 { 113 113 if (array_key_exists('a', $_POST)) $Action = $_POST['a'];
Note:
See TracChangeset
for help on using the changeset viewer.