summaryrefslogtreecommitdiffstats
path: root/frontend/install/classes/class.DisplayDatabase.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/install/classes/class.DisplayDatabase.php')
-rw-r--r--frontend/install/classes/class.DisplayDatabase.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/install/classes/class.DisplayDatabase.php b/frontend/install/classes/class.DisplayDatabase.php
index 0703ac6..d4a1861 100644
--- a/frontend/install/classes/class.DisplayDatabase.php
+++ b/frontend/install/classes/class.DisplayDatabase.php
@@ -76,7 +76,6 @@ class DisplayDatabase{
public function displayUpdate($update){
global $site_url;
global $lang;
- global $debug;
global $admin_type;
echo '<p>'.$lang['install_database_update'].'</p>';
@@ -86,7 +85,7 @@ class DisplayDatabase{
echo '<p>'.$lang['install_database_version_update'].': <b>'.$update['new_version'].'</b></p>';
// Ce smo admin ali v debugu izpisemo tudi vrstice za update
- if($admin_type == '0' || $debug == '1'){
+ if($admin_type == '0' || isDebug()){
foreach ($update['update_lines'] as $key => $update_line) {
echo $update_line.'<br /><br />';