diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-10 10:45:02 -0600 |
commit | bd37f7f6c04780819dfa8f81b2d761b91859fd67 (patch) | |
tree | a4dc4bd1c1d7ba2e21e35ef57dee353defc7da9f /phpBB/includes/db/mssqlnative.php | |
parent | 7085a6c74d9bc5a4c5a92033977a89f56cce01e1 (diff) | |
download | forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.gz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.bz2 forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.tar.xz forums-bd37f7f6c04780819dfa8f81b2d761b91859fd67.zip |
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
PHPBB3-11189
Diffstat (limited to 'phpBB/includes/db/mssqlnative.php')
-rw-r--r-- | phpBB/includes/db/mssqlnative.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/db/mssqlnative.php b/phpBB/includes/db/mssqlnative.php index c31f7f6892..e9191fae8a 100644 --- a/phpBB/includes/db/mssqlnative.php +++ b/phpBB/includes/db/mssqlnative.php @@ -311,7 +311,7 @@ class dbal_mssqlnative extends dbal global $cache; // EXPLAIN only in extra debug mode - if (defined('DEBUG_EXTRA')) + if (defined('DEBUG')) { $this->sql_report('start', $query); } @@ -329,7 +329,7 @@ class dbal_mssqlnative extends dbal // reset options for next query $this->query_options = array(); - if (defined('DEBUG_EXTRA')) + if (defined('DEBUG')) { $this->sql_report('stop', $query); } @@ -344,7 +344,7 @@ class dbal_mssqlnative 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); } |