mirror of
https://github.com/friendica/friendica
synced 2025-05-21 11:04:15 +02:00
Adjust update parameters:
-f|--force Force the update command (Even if the database structure matches) -o|--override Override running or stalling updates
This commit is contained in:
parent
7ce549c294
commit
aae58815a8
8 changed files with 26 additions and 26 deletions
|
@ -122,13 +122,13 @@ class Lock
|
|||
/**
|
||||
* @brief Releases a lock if it was set by us
|
||||
*
|
||||
* @param string $key Name of the lock
|
||||
* @param bool $force Force the lock to get releases
|
||||
* @param string $key Name of the lock
|
||||
* @param bool $override Overrides the lock to get releases
|
||||
* @return void
|
||||
*/
|
||||
public static function release($key, $force = false)
|
||||
public static function release($key, $override = false)
|
||||
{
|
||||
self::getDriver()->releaseLock($key, $force);
|
||||
self::getDriver()->releaseLock($key, $override);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue