diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-24 01:28:38 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-24 01:28:38 -0800 |
commit | 1d8862d957e8f08552d448cd17b3c00c61b7fc05 (patch) | |
tree | 94340ce1f8d05cfd838616438c46d799567b0b16 /modules/gallery/libraries/drivers/Cache/Database.php | |
parent | d4423eb34970f0068af463ebea17a748910ca835 (diff) |
Fix for ticket #1034: Fix db cache driver delete() call which was missed in a recent refactoring / fix.
Diffstat (limited to 'modules/gallery/libraries/drivers/Cache/Database.php')
-rw-r--r-- | modules/gallery/libraries/drivers/Cache/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/drivers/Cache/Database.php b/modules/gallery/libraries/drivers/Cache/Database.php index 085c5c35..ff982396 100644 --- a/modules/gallery/libraries/drivers/Cache/Database.php +++ b/modules/gallery/libraries/drivers/Cache/Database.php @@ -130,7 +130,7 @@ class Cache_Database_Driver extends Cache_Driver { // Make sure the expiration is valid and that the hash matches if ($cache->expiration != 0 && $cache->expiration <= time()) { // Cache is not valid, delete it now - $this->delete($cache->id); + $this->delete(array($cache->id)); } else { // Disable notices for unserializing $ER = error_reporting(~E_NOTICE); |