honour the feed_contacts setting

This commit is contained in:
friendica 2014-09-01 04:17:10 -07:00
parent 2a37d99958
commit 76a72a997d
2 changed files with 6 additions and 1 deletions

View File

@ -176,6 +176,11 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
}
if($is_http) {
if(! intval(get_config('system','feed_contacts'))) {
$result['message'] = t('Protocol disabled.');
return $result;
}
$r = q("select count(*) as total from abook where abook_account = %d and abook_network = 'rss'",
intval($aid)
);

View File

@ -1 +1 @@
2014-08-31.784
2014-09-01.785