From f06999d12e0df5f6db5c8414fe08ecc4ae5cfacf Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 12 Jun 2012 18:38:47 +0200 Subject: [PATCH] Minor - replacing error_log message --- main/install/update-db-1.8.7-1.8.8.inc.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main/install/update-db-1.8.7-1.8.8.inc.php b/main/install/update-db-1.8.7-1.8.8.inc.php index 25ef85f6be..de6e304c9b 100644 --- a/main/install/update-db-1.8.7-1.8.8.inc.php +++ b/main/install/update-db-1.8.7-1.8.8.inc.php @@ -211,7 +211,7 @@ if (defined('SYSTEM_INSTALLATION')) { iDatabase::select_db($dbNameForm); $res = iDatabase::query("SELECT code,db_name,directory,course_language FROM course WHERE target_course_code IS NULL ORDER BY code"); - if ($res === false) { die('Error while querying the courses list in update_db-1.8.6.2-1.8.7.inc.php'); } + if ($res === false) { die('Error while querying the courses list in update_db-1.8.7.1-1.8.8.inc.php'); } if (iDatabase::num_rows($res) > 0) { $i = 0; @@ -247,7 +247,7 @@ if (defined('SYSTEM_INSTALLATION')) { Log::error('Error in '.$query.': '.iDatabase::error()); } } - } + } $table_lp_item_view = $row_course['db_name'].".lp_item_view"; $table_lp_view = $row_course['db_name'].".lp_view"; @@ -404,10 +404,6 @@ if (defined('SYSTEM_INSTALLATION')) { } } */ - - } else { - echo 'You are not allowed here !'; - }