seasonator correction
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 16:19:57 +0000 (12:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 16:19:57 +0000 (12:19 -0400)
correctly call cache for cleaning

Toolkit/Seasonator/updateSeason.php

index da08c4a..ccd9e4a 100644 (file)
@@ -29,7 +29,7 @@ if ($newSeason) {
     $season->setLast_update(date('Y-m-d H:i:s'));
     $season->save(Toolkit_Database::getInstance());
     $cache = new Cache_Lite($GLOBALS['cacheOptions']);
-    $cache->clean('Images', 'Season');
+    $cache->clean('Season');
     $cache->clean('Nav');
     return 1;
 }