diff options
author | Andrey Andreev <narf@devilix.net> | 2016-04-01 20:11:23 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-04-01 20:11:23 +0200 |
commit | f8312cfa38d2793f1b365f918395019f343fe1c0 (patch) | |
tree | 769396c7edc92ce5f8a8817256abdcc675d6478f /system/libraries/Cache/drivers/Cache_memcached.php | |
parent | b97e6b2e7e2f58aa7bba937b96dd2e9d3089e4d2 (diff) |
[ci skip] Fix #4562
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_memcached.php')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_memcached.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php index 6dee1e8e4..836336d46 100644 --- a/system/libraries/Cache/drivers/Cache_memcached.php +++ b/system/libraries/Cache/drivers/Cache_memcached.php @@ -295,7 +295,7 @@ class CI_Cache_memcached extends CI_Driver { { $this->_memcached->close(); } - elseif ($this->_memcached instanceof Memcached) + elseif ($this->_memcached instanceof Memcached && method_exists($this->_memcached, 'quit')) { $this->_memcached->quit(); } |