]> git.mxchange.org Git - friendica.git/commit
Only delete uid=0 entries when cleaning up extra public entries
authorDean Townsley <dean@townsley.com>
Sat, 8 Jul 2017 14:55:40 +0000 (09:55 -0500)
committerDean Townsley <dean@townsley.com>
Sat, 8 Jul 2017 14:55:40 +0000 (09:55 -0500)
commit11d271f3c5c43feffd6f858d5787e6e4ae0319d2
treedb264037f217c896d7de77aad687d64c22238bb1
parentd88584af694a781a4cd61849082058c5a133e14e
Only delete uid=0 entries when cleaning up extra public entries

This delete can inadvertently remove contacts from normal users under
some conditions.  Since it appears to be intended to only operate on
"public" (uid=0) contacts, this change constrains the delete query to
only uid=0 records.
include/Contact.php