MetaAction::DeleteActionsFromCache PHP Method

DeleteActionsFromCache() public static method

public static DeleteActionsFromCache ( )
    public static function DeleteActionsFromCache()
    {
        if (CampCache::IsEnabled()) {
            return CampCache::singleton()->delete(self::CACHE_KEY_LIST_OF_ACTIONS);
        }
        return false;
    }

Usage Example

Beispiel #1
0
 public function uninstall()
 {
     $info = $this->getPluginInfo();
     if (function_exists($info['uninstall'])) {
         call_user_func($info['uninstall']);
     }
     self::ClearPluginsInfo();
     $this->delete();
     MetaAction::DeleteActionsFromCache();
     self::ClearPluginsInfo();
 }