From 95d7b72ed58db5298222b7eb860688c12c225a04 Mon Sep 17 00:00:00 2001 From: Simounet Date: Fri, 25 Mar 2016 12:36:05 +0100 Subject: [PATCH] =?UTF-8?q?Renommage=20de=20la=20m=C3=A9thode=20loadLogs()?= =?UTF-8?q?=20pour=20flushLogs()=20dans=20le=20Logger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Logger.class.php | 2 +- settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Logger.class.php b/Logger.class.php index db8677da..fb2826d9 100644 --- a/Logger.class.php +++ b/Logger.class.php @@ -18,7 +18,7 @@ public function appendLogs($msg){ $this->logs[] = $msg; } - public function loadLogs() + public function flushLogs() { $logs = $this->getLogs(); $this->destroy(); diff --git a/settings.php b/settings.php index 4f6ddff2..206502c9 100644 --- a/settings.php +++ b/settings.php @@ -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;