aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/firebird.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-11-10 23:39:00 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-11-10 23:39:00 +0100
commit847feb07e784ccbe646257553f1efba8c5032b7f (patch)
tree78860eb01da03d27f2c7c0c016556de596967010 /phpBB/includes/db/firebird.php
parentf0cfae1f014e5defd373bac74b5d915fc3568c7a (diff)
parentbd37f7f6c04780819dfa8f81b2d761b91859fd67 (diff)
downloadforums-847feb07e784ccbe646257553f1efba8c5032b7f.tar
forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.gz
forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.bz2
forums-847feb07e784ccbe646257553f1efba8c5032b7f.tar.xz
forums-847feb07e784ccbe646257553f1efba8c5032b7f.zip
Merge remote-tracking branch 'EXreaction/ticket/11189' into develop
* EXreaction/ticket/11189: [ticket/11189] Replace DEBUG_EXTRA with DEBUG [ticket/11189] Always log critical errors when in cron or in image output
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r--phpBB/includes/db/firebird.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index 9f9b8a1abd..5728eb901c 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -150,7 +150,7 @@ class dbal_firebird extends dbal
global $cache;
// EXPLAIN only in extra debug mode
- if (defined('DEBUG_EXTRA'))
+ if (defined('DEBUG'))
{
$this->sql_report('start', $query);
}
@@ -251,7 +251,7 @@ class dbal_firebird extends dbal
$this->sql_error($query);
}
- if (defined('DEBUG_EXTRA'))
+ if (defined('DEBUG'))
{
$this->sql_report('stop', $query);
}
@@ -279,7 +279,7 @@ class dbal_firebird extends dbal
$this->open_queries[(int) $this->query_result] = $this->query_result;
}
}
- else if (defined('DEBUG_EXTRA'))
+ else if (defined('DEBUG'))
{
$this->sql_report('fromcache', $query);
}