fixed naming of variables in flushByTags()
authorIngo Renner <ingo.renner@typo3.org>
Tue, 11 Aug 2009 15:08:40 +0000 (15:08 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 11 Aug 2009 15:08:40 +0000 (15:08 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5775 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php

index 7d79195..99168f8 100644 (file)
@@ -233,11 +233,12 @@ class t3lib_cache_backend_DbBackend extends t3lib_cache_backend_AbstractBackend
         * @return void
         */
        public function flushByTags(array $tags) {
-               $tmpListQuery = array();
+               $listQueryConditions = array();
                foreach ($tags as $tag) {
-                       $tmpListQuery[$tag] = $this->getListQueryForTag($tag);
+                       $listQueryConditions[$tag] = $this->getListQueryForTag($tag);
                }
-               $listQuery = implode(' OR ',$tmpListQuery);
+
+               $listQuery = implode(' OR ', $listQueryConditions);
                $GLOBALS['TYPO3_DB']->exec_DELETEquery(
                        $this->cacheTable,
                        $listQuery