commit | f8312cfa38d2793f1b365f918395019f343fe1c0 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Apr 01 21:11:23 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Fri Apr 01 21:11:23 2016 +0300 |
tree | 769396c7edc92ce5f8a8817256abdcc675d6478f | |
parent | b97e6b2e7e2f58aa7bba937b96dd2e9d3089e4d2 [diff] [blame] |
[ci skip] Fix #4562
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php index 6dee1e8..836336d 100644 --- a/system/libraries/Cache/drivers/Cache_memcached.php +++ b/system/libraries/Cache/drivers/Cache_memcached.php
@@ -295,7 +295,7 @@ { $this->_memcached->close(); } - elseif ($this->_memcached instanceof Memcached) + elseif ($this->_memcached instanceof Memcached && method_exists($this->_memcached, 'quit')) { $this->_memcached->quit(); }