public function uninstall() { $this->drop_tables(); ConfigManager::delete('web', 'config'); CacheManager::invalidate('module', 'web'); WebService::get_keywords_manager()->delete_module_relations(); }
/** * Invalidates the current extended_fields cached data. */ public static function invalidate() { CacheManager::invalidate('kernel', 'extended-fields'); }
/** * Delete an configuration in the database and the cache * @param string $module_name Name of the module owning this entry * @param string $entry_name The name of the entry if the module uses several entries */ public static function delete($module_name, $entry_name = '') { $name = self::compute_entry_name($module_name, $entry_name); try { PersistenceContext::get_querier()->delete(DB_TABLE_CONFIGS, 'WHERE name=:name', array('name' => $name)); } catch (MySQLQuerierException $e) { } CacheManager::invalidate($module_name, $entry_name); }
/** * Invalidates the current Bugtracker stats cached data. */ public static function invalidate() { CacheManager::invalidate('bugtracker', 'stats'); }
/** * Invalidates the current administrator alert cached data. */ public static function invalidate() { CacheManager::invalidate('kernel', 'administrator-alert'); }
/** * Invalidates the current poll cached data. */ public static function invalidate() { CacheManager::invalidate('poll', 'minimenu'); }
/** * Invalidates the current modules css files cached data. */ public static function invalidate() { CacheManager::invalidate('kernel', 'unread-contributions'); }
/** * Invalidates the current Calendar month events cached data. */ public static function invalidate() { CacheManager::invalidate('calendar', 'currentmonthevents'); }
/** * Invalidates the current faq cached data. */ public static function invalidate() { CacheManager::invalidate('module', 'faq'); }
public function uninstall() { $this->drop_tables(); ConfigManager::delete('faq', 'config'); CacheManager::invalidate('module', 'faq'); }
/** * Invalidates the current groups cached data. */ public static function invalidate() { CacheManager::invalidate('kernel', 'htaccess-file'); }
/** * Invalidates the current Guestbook messages cached data. */ public static function invalidate() { CacheManager::invalidate('guestbook', 'messages'); }
/** * Invalidates the current ranks cached data. */ public static function invalidate() { CacheManager::invalidate('forum', 'ranks'); }
/** * Invalidates the current menus cached data. */ public static function invalidate() { CacheManager::invalidate('kernel', 'menus'); }
/** * Invalidates the current download cached data. */ public static function invalidate() { CacheManager::invalidate('download', 'minimenu'); }
/** * Invalidates the current pages categories cached data. */ public static function invalidate() { CacheManager::invalidate('pages', 'categories'); }
/** * Invalidates categories cached data. */ public static function invalidate() { CacheManager::invalidate(self::get_class()->get_module_identifier(), 'categories'); }