mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -406,7 +406,7 @@ class Probe
|
|||
|
||||
$condition = array('nurl' => normalise_link($data["url"]));
|
||||
|
||||
$old_fields = dba::selectOne('gcontact', $fieldnames, $condition);
|
||||
$old_fields = dba::selectFirst('gcontact', $fieldnames, $condition);
|
||||
|
||||
dba::update('gcontact', $fields, $condition, $old_fields);
|
||||
|
||||
|
@ -439,7 +439,7 @@ class Probe
|
|||
|
||||
$condition = array('nurl' => normalise_link($data["url"]), 'self' => false, 'uid' => 0);
|
||||
|
||||
$old_fields = dba::selectOne('contact', $fieldnames, $condition);
|
||||
$old_fields = dba::selectFirst('contact', $fieldnames, $condition);
|
||||
|
||||
dba::update('contact', $fields, $condition, $old_fields);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue