summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-03-03 11:36:11 +0100
committerAndrey Andreev <narf@devilix.net>2015-03-03 11:36:11 +0100
commitfd08d02b1984d8f27a5e447a5c9d5e190271ab5e (patch)
tree3f2a44076827984e7f391aad1c3e4ade011cc0ad /system/core
parent09d4de9b04303888f85fc036359547557e2b00b0 (diff)
Remove an unused var in CI_Log
Was suggested as part of PR #3630, which was rejected due to numerous other changes
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Log.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index 833316273..e8cb401f5 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -70,13 +70,6 @@ class CI_Log {
protected $_threshold = 1;
/**
- * Highest level of logging
- *
- * @var int
- */
- protected $_threshold_max = 0;
-
- /**
* Array of threshold levels to log
*
* @var array
@@ -139,7 +132,7 @@ class CI_Log {
}
elseif (is_array($config['log_threshold']))
{
- $this->_threshold = $this->_threshold_max;
+ $this->_threshold = 0;
$this->_threshold_array = array_flip($config['log_threshold']);
}