public static function release($id, $path = '.')
    {
        $lockFile = self::__generateLockFileName($id, $path);

        if (!empty(self::$lockFiles[$lockFile])) {
            unset(self::$lockFiles[$lockFile]);
            return General::deleteFile($lockFile, false);
        }

        return false;
    }
public static function release($id, $path = '.')
    {
        $lockFile = self::__generateLockFileName($id, $path);

        if (!empty(self::$lockFiles[$lockFile])) {
            unset(self::$lockFiles[$lockFile]);
            return General::deleteFile($lockFile, false);
        }

        return false;
    }
public static function release ( $ id , $ path = '.' ) { $ lockFile = self :: __generateLockFileName ( $ id , $ path ) ; if ( ! empty ( self :: $ lockFiles [ $ lockFile ] ) ) { unset ( self :: $ lockFiles [ $ lockFile ] ) ; return General :: deleteFile ( $ lockFile , false ) ; } return false ; }
Removes a lock file. This is the only way a lock file can be removed

@param string $id
The original name of the lock file (note that this will be different from
the name of the file saved on the file system)
@param string $path
The path to the lock, defaults to the current working directory
@return boolean
Removes a lock file . This is the only way a lock file can be removed