Replace old database queries with the new ones

This commit is contained in:
Michael
2018-05-02 19:26:15 +00:00
committed by Roland Häder
parent 6cb26f884e
commit f806fa91b1
3 changed files with 2 additions and 3 deletions

View File

@@ -2080,7 +2080,6 @@ class DFRN
'confirm' => $relocate["confirm"], 'notify' => $relocate["notify"],
'poll' => $relocate["poll"], 'site-pubkey' => $relocate["sitepubkey"]];
$condition = ["(`id` = ?) OR (`nurl` = ?)", $importer["id"], normalise_link($old["url"])];
dba::update('contact', $fields, $condition);
// @TODO No dba:update here?
dba::update('contact', $fields, $condition);