mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -97,7 +97,7 @@ class Config
|
|||
}
|
||||
}
|
||||
|
||||
$ret = dba::selectOne('config', ['v'], ['cat' => $family, 'k' => $key]);
|
||||
$ret = dba::selectFirst('config', ['v'], ['cat' => $family, 'k' => $key]);
|
||||
if (DBM::is_result($ret)) {
|
||||
// manage array value
|
||||
$val = (preg_match("|^a:[0-9]+:{.*}$|s", $ret['v']) ? unserialize($ret['v']) : $ret['v']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue