diff options
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Loader.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 0c16632eb..70c1e4154 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -471,6 +471,20 @@ class CI_Loader { // -------------------------------------------------------------------- /** + * Clear Cached Variables + * + * Clears the cached variables. + * + * @return void + */ + public function clear_vars() + { + $this->_ci_cached_vars = array(); + } + + // -------------------------------------------------------------------- + + /** * Get Variable * * Check if a variable is set and retrieve it. |