Added missing page cache reset
authorMarcel Werk <burntime@woltlab.com>
Wed, 27 Apr 2016 16:41:02 +0000 (18:41 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 27 Apr 2016 16:41:02 +0000 (18:41 +0200)
wcfsetup/install/files/lib/data/page/PageEditor.class.php

index 6f4ea91b2446181f595ae10f4386300bc15d6484..49b492c05cda87997a7d2c5317b12cc0774d5185 100644 (file)
@@ -2,6 +2,7 @@
 namespace wcf\data\page;
 use wcf\data\DatabaseObjectEditor;
 use wcf\data\IEditableCachedObject;
+use wcf\system\cache\builder\PageCacheBuilder;
 use wcf\system\cache\builder\RoutingCacheBuilder;
 
 /**
@@ -26,5 +27,6 @@ class PageEditor extends DatabaseObjectEditor implements IEditableCachedObject {
         */
        public static function resetCache() {
                RoutingCacheBuilder::getInstance()->reset();
+               PageCacheBuilder::getInstance()->reset();
        }
 }