You are here

public static function UltimateCronSignalCache::clear in Ultimate Cron 7.2

Clear signal.

Parameters

string $name: The name of the job.

string $signal: The name of the signal.

1 call to UltimateCronSignalCache::clear()
UltimateCronSignalCache::get in ./ultimate_cron.cache-signal.inc
Get and claim signal.

File

./ultimate_cron.cache-signal.inc, line 81
File containing functions for Ultimate Cron signal handling using cache.

Class

UltimateCronSignalCache
Class for handling Ultimate Cron signals.

Code

public static function clear($name, $signal) {
  $bin = variable_get('ultimate_cron_signal_cache_bin', 'signal');
  cache_clear_all("signal-{$name}-{$signal}", $bin);
}