1
0
Fork 0

add a few more sql indexes

This commit is contained in:
friendica 2011-11-15 23:12:56 -08:00
commit 7b58de743a
3 changed files with 12 additions and 3 deletions

View file

@ -455,7 +455,9 @@ function diaspora_request($importer,$xml) {
intval($importer['uid'])
);
if(count($self)) {
// they are not CONTACT_IS_FOLLOWER anymore but that's what we have in the array
if(count($self) && $contact['rel'] == CONTACT_IS_FOLLOWER) {
$arr = array();
$arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $importer['uid']);