summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-17 11:49:24 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-17 11:49:24 +0200
commit92ebfb65ac044f5c2e6d88fba137253854cf1b94 (patch)
tree5c1dcedd4e885b5a33cdd44785b2fe462480ef0f /system/core/Hooks.php
parentc59e8720177d96a1dec1b2cbcd6296bbfceb4a2b (diff)
Cleanup the core classes
Diffstat (limited to 'system/core/Hooks.php')
-rwxr-xr-xsystem/core/Hooks.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
index b42ecbe20..5bbb0009a 100755
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -44,14 +44,14 @@ class CI_Hooks {
* @var bool
*/
public $enabled = FALSE;
-
+
/**
* List of all hooks set in config/hooks.php
*
* @var array
*/
public $hooks = array();
-
+
/**
* Determines wether hook is in progress, used to prevent infinte loops
*
@@ -152,7 +152,7 @@ class CI_Hooks {
// If the script being called happens to have the same
// hook call within it a loop can happen
- if ($this->in_progress == TRUE)
+ if ($this->in_progress === TRUE)
{
return;
}