Skip to content

Commit

Permalink
Renommage de la méthode loadLogs() pour flushLogs() dans le Logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed Mar 25, 2016
1 parent 36b7942 commit 95d7b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Logger.class.php
Expand Up @@ -18,7 +18,7 @@ public function appendLogs($msg){
$this->logs[] = $msg;
}

public function loadLogs()
public function flushLogs()
{
$logs = $this->getLogs();
$this->destroy();
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Expand Up @@ -9,7 +9,7 @@
require_once('header.php');

$logger = new Logger('settings');
$tpl->assign('logs',$logger->loadLogs());
$tpl->assign('logs',$logger->flushLogs());

// gestion de la langue
$languageList = $i18n->languages;
Expand Down

0 comments on commit 95d7b72

Please sign in to comment.