mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +02:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -126,7 +126,7 @@ class Lock
|
|||
|
||||
do {
|
||||
dba::lock('locks');
|
||||
$lock = dba::selectOne('locks', ['locked', 'pid'], ['name' => $fn_name]);
|
||||
$lock = dba::selectFirst('locks', ['locked', 'pid'], ['name' => $fn_name]);
|
||||
|
||||
if (DBM::is_result($lock)) {
|
||||
if ($lock['locked']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue