You are here

public static function UltimateCronLock::persist in Ultimate Cron 7.2

Dont release lock on shutdown.

Parameters

string $lock_id: The lock id to persist.

1 call to UltimateCronLock::persist()
UltimateCronLock::unlock in ./ultimate_cron.lock.inc
Release lock.

File

./ultimate_cron.lock.inc, line 36
A database-mediated implementation of a locking mechanism.

Class

UltimateCronLock
Class for handling lock functions.

Code

public static function persist($lock_id) {
  if (isset(self::$locks)) {
    unset(self::$locks[$lock_id]);
  }
}