1
0
Fork 0

Removed many "limit 1" at update and delete queries since they were superflous und generated massiv logfile entries

This commit is contained in:
Michael Vogel 2013-11-02 16:13:11 +01:00
commit 759015e5fd
6 changed files with 88 additions and 85 deletions

View file

@ -783,7 +783,7 @@ function add_fcontact($arr,$update = false) {
`alias` = '%s',
`pubkey` = '%s',
`updated` = '%s'
WHERE `url` = '%s' AND `network` = '%s' LIMIT 1",
WHERE `url` = '%s' AND `network` = '%s'",
dbesc($arr['name']),
dbesc($arr['photo']),
dbesc($arr['request']),