Ejemplo n.º 1
0
 /**
  * Delete the entry named $key from the cache.
  */
 public static function cache_delete($key)
 {
     Cache::delete("facade#" . $key);
 }
Ejemplo n.º 2
0
 private static function ver41()
 {
     # Force changelog reset (will be produced one day back)
     Db::execute("delete from okapi_vars where var='last_clog_update'");
     # Force all cronjobs rerun
     Okapi::set_var("cron_nearest_event", 0);
     Cache::delete('cron_schedule');
 }