<?php
namespace wcf\data\menu;
use wcf\data\DatabaseObjectEditor;
+use wcf\data\IEditableCachedObject;
+use wcf\system\cache\builder\MenuCacheBuilder;
use wcf\system\language\LanguageFactory;
use wcf\system\WCF;
* @category Community Framework
* @since 2.2
*/
-class MenuEditor extends DatabaseObjectEditor {
+class MenuEditor extends DatabaseObjectEditor implements IEditableCachedObject {
/**
* @inheritDoc
*/
return $menu;
}
+
+ /**
+ * @inheritDoc
+ */
+ public static function resetCache() {
+ MenuCacheBuilder::getInstance()->reset();
+ }
}