Merge remote-tracking branch 'upstream/develop' into 1501-central-item-storage

This commit is contained in:
Michael Vogel 2015-02-02 22:15:39 +01:00
commit 8490bedefe
24 changed files with 9705 additions and 8316 deletions

View file

@ -589,7 +589,7 @@ function diaspora_request($importer,$xml) {
intval($importer['uid'])
);
if((count($r)) && (! $r[0]['hide-friends']) && (! $contact['hidden'])) {
if((count($r)) && (!$r[0]['hide-friends']) && (!$contact['hidden']) && intval(get_pconfig($importer['uid'],'system','post_newfriend'))) {
require_once('include/items.php');
$self = q("SELECT * FROM `contact` WHERE `self` = 1 AND `uid` = %d LIMIT 1",