Skip to content

Commit

Permalink
Fixed #58
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Öttl committed Apr 3, 2012
1 parent 74af894 commit ef14a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/lib/data/news/archive/NewsArchiveEditor.class.php
Expand Up @@ -77,6 +77,7 @@ public static function create($title, $contentItemID) {
* Resets the news archive cache.
*/
public static function resetCache() {
WCF::getCache()->addResource('newsArchive', MOXEO_DIR.'cache/cache.newsArchive.php', MOXEO_DIR.'lib/system/cache/CacheBuilderNewsArchive.class.php');
WCF::getCache()->clearResource('newsArchive');
}
}
Expand Down

0 comments on commit ef14a23

Please sign in to comment.