From 891835d5422384cf194fd936756e3f34bde44921 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 17 May 2010 09:10:02 +0000 Subject: [PATCH] don't use the same varname twice --- install/updatesql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/updatesql.php b/install/updatesql.php index 8c723264..375f0f92 100644 --- a/install/updatesql.php +++ b/install/updatesql.php @@ -19,9 +19,9 @@ $updatelog = FroxlorLogger::getInstanceOf(array('loginname' => 'updater'), $db, $settings); -$updatelog = validateUpdateLogFile(makeCorrectFile(dirname(__FILE__).'/update.log')); +$updatelogfile = validateUpdateLogFile(makeCorrectFile(dirname(__FILE__).'/update.log')); $filelog = FileLogger::getInstanceOf(array('loginname' => 'updater'), $settings); -$filelog->setLogFile($updatelog); +$filelog->setLogFile($updatelogfile); $filelog->logAction(ADM_ACTION, LOG_WARNING, '-------------- START LOG --------------'); /*