Ignore:
Timestamp:
Dec 27, 2022, 7:50:23 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package to latest version.
  • Modified: Fixes related to PHP 8.x.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Log/Log.php

    r884 r888  
    11<?php
    22
    3 class ModuleLog extends AppModule
     3class ModuleLog extends Module
    44{
    55  var $Excludes;
     
    1818  }
    1919
    20   function DoStart()
    21   {
    22     $this->System->RegisterPage('log', 'PageLog');
     20  function DoStart(): void
     21  {
     22    $this->System->RegisterPage(['log'], 'PageLog');
    2323    $this->System->ModuleManager->Modules['Error']->OnError[] = array($this, 'DoAddItem');
    2424    $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Logs'),
     
    109109  }
    110110
    111   function Show()
     111  function Show(): string
    112112  {
    113113    if (array_key_exists('a', $_POST)) $Action = $_POST['a'];
Note: See TracChangeset for help on using the changeset viewer.