Exemplo n.º 1
0
 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');
 }
Exemplo n.º 3
0
 /**
  * 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');
 }
Exemplo n.º 9
0
 /**
  * Invalidates the current faq cached data.
  */
 public static function invalidate()
 {
     CacheManager::invalidate('module', 'faq');
 }
Exemplo n.º 10
0
 public function uninstall()
 {
     $this->drop_tables();
     ConfigManager::delete('faq', 'config');
     CacheManager::invalidate('module', 'faq');
 }
Exemplo n.º 11
0
 /**
  * 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');
 }
Exemplo n.º 13
0
 /**
  * Invalidates the current ranks cached data.
  */
 public static function invalidate()
 {
     CacheManager::invalidate('forum', 'ranks');
 }
Exemplo n.º 14
0
 /**
  * Invalidates the current menus cached data.
  */
 public static function invalidate()
 {
     CacheManager::invalidate('kernel', 'menus');
 }
Exemplo n.º 15
0
 /**
  * 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');
 }
Exemplo n.º 17
0
 /**
  * Invalidates categories cached data.
  */
 public static function invalidate()
 {
     CacheManager::invalidate(self::get_class()->get_module_identifier(), 'categories');
 }