honour the feed_contacts setting
This commit is contained in:
parent
2a37d99958
commit
76a72a997d
@ -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)
|
||||
);
|
||||
|
@ -1 +1 @@
|
||||
2014-08-31.784
|
||||
2014-09-01.785
|
||||
|
Reference in New Issue
Block a user