Fixed cache flushing for specified parameters
authorAlexander Ebert <ebert@woltlab.com>
Sun, 9 Jun 2013 14:08:22 +0000 (16:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 9 Jun 2013 14:08:22 +0000 (16:08 +0200)
wcfsetup/install/files/lib/system/cache/CacheHandler.class.php

index 366add6f9f4d4db554b31e1e06140ec8c9ef42fa..5b13f19f52497b01898338c7a9768cee6406ec68 100644 (file)
@@ -50,7 +50,7 @@ class CacheHandler extends SingletonFactory {
         * @param       array                                           $parameters
         */
        public function flush(ICacheBuilder $cacheBuilder, array $parameters) {
-               $this->getCacheSource()->flush($this->getCacheName($cacheBuilder), empty($parameters));
+               $this->getCacheSource()->flush($this->getCacheName($cacheBuilder, $parameters), empty($parameters));
        }
        
        /**