diff options
author | ftwbzhao <b.zhao1@gmail.com> | 2015-07-06 10:47:54 +0200 |
---|---|---|
committer | ftwbzhao <b.zhao1@gmail.com> | 2015-07-06 10:47:54 +0200 |
commit | 5cd726abed384ce594d07cc59dcd61f613f10d49 (patch) | |
tree | a59af74d4084620ab360a26a403eb2a7495364d2 /system/libraries/Cache/Cache.php | |
parent | 820f06f63de3da890a87a88161daea0fd1be8caa (diff) | |
parent | c79a62c5c43c75a3dbc0af77433694340b235047 (diff) |
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter into develop
Conflicts:
user_guide_src/source/changelog.rst
Diffstat (limited to 'system/libraries/Cache/Cache.php')
-rw-r--r-- | system/libraries/Cache/Cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Cache/Cache.php b/system/libraries/Cache/Cache.php index 06403b6e9..0c87a5628 100644 --- a/system/libraries/Cache/Cache.php +++ b/system/libraries/Cache/Cache.php @@ -178,7 +178,7 @@ class CI_Cache extends CI_Driver_Library { */ public function increment($id, $offset = 1) { - return $this->{$this->_adapter}->increment($id, $offset); + return $this->{$this->_adapter}->increment($this->key_prefix.$id, $offset); } // ------------------------------------------------------------------------ @@ -192,7 +192,7 @@ class CI_Cache extends CI_Driver_Library { */ public function decrement($id, $offset = 1) { - return $this->{$this->_adapter}->decrement($id, $offset); + return $this->{$this->_adapter}->decrement($this->key_prefix.$id, $offset); } // ------------------------------------------------------------------------ |