Ejemplo n.º 1
0
 /**
  * Zurücksetzen des kompletten Cache
  *
  * @since   0.1
  * @change  2.0
  */
 public static function flush_total_cache($clear_all_methods = false)
 {
     if ($clear_all_methods) {
         /* DB */
         Cachify_DB::clear_cache();
         /* APC */
         Cachify_APC::clear_cache();
         /* HDD */
         Cachify_HDD::clear_cache();
         /* MEMCACHED */
         Cachify_MEMCACHED::clear_cache();
     } else {
         call_user_func(array(self::$method, 'clear_cache'));
     }
     /* Transient */
     delete_transient('cachify_cache_size');
 }