Changeset 578 for trunk/Modules/Log


Ignore:
Timestamp:
Sep 11, 2013, 10:59:06 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: Use WriteLog as class method instead of global function.
File:
1 edited

Legend:

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

    r577 r578  
    203203          $DbRow = $DbResult->fetch_row();
    204204          $this->System->Database->query('DELETE FROM `Log` WHERE `Type`='.LOG_TYPE_ERROR);
    205           WriteLog('Vymazány chybové záznamy', LOG_TYPE_ADMINISTRATION);
     205          $this->System->ModuleManager->Modules['Log']->WriteLog('Vymazány chybové záznamy', LOG_TYPE_ADMINISTRATION);
    206206          $Output = ShowMessage('Smazáno všech '.$DbRow[0].' chybových záznamů.');
    207207          $Output .= $this->ShowList();
Note: See TracChangeset for help on using the changeset viewer.