The first queries are replaced with the new functions. More to come ...

This commit is contained in:
Michael 2017-05-07 20:52:00 +00:00
parent 1c38540f20
commit 2c11e91e65
8 changed files with 32 additions and 54 deletions

View file

@ -724,22 +724,7 @@ function fix_contact_ssl_policy(&$contact,$new_policy) {
}
if ($ssl_changed) {
q("UPDATE `contact` SET
`url` = '%s',
`request` = '%s',
`notify` = '%s',
`poll` = '%s',
`confirm` = '%s',
`poco` = '%s'
WHERE `id` = %d LIMIT 1",
dbesc($contact['url']),
dbesc($contact['request']),
dbesc($contact['notify']),
dbesc($contact['poll']),
dbesc($contact['confirm']),
dbesc($contact['poco']),
intval($contact['id'])
);
dba::update('contact', $contact, array('id' => $contact['id']));
}
}