aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-04-03 09:27:46 +0200
committerzottel <github@zottel.net>2012-04-03 09:27:46 +0200
commite5cd5aab5cf5fd5019ec3178f09f5515c390c9d9 (patch)
tree76e322f19d3ada0106a2c7c9664537e602ed88ed /include/notifier.php
parent7127626f55f0ae5843d38145bf80022b98e4a8d8 (diff)
parent5d0d9f877294258cb90e1c496b4db750ee99f3ca (diff)
downloadvolse-hubzilla-e5cd5aab5cf5fd5019ec3178f09f5515c390c9d9.tar.gz
volse-hubzilla-e5cd5aab5cf5fd5019ec3178f09f5515c390c9d9.tar.bz2
volse-hubzilla-e5cd5aab5cf5fd5019ec3178f09f5515c390c9d9.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/notifier.php')
-rwxr-xr-xinclude/notifier.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php
index d63ad7ae7..ca7c7b92e 100755
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -537,6 +537,17 @@ function notifier_run($argv, $argc){
$x[0]['writable'] = 1;
}
+ // if contact's ssl policy changed, which we just determined
+ // is on our own server, update our contact links
+
+ $ssl_policy = get_config('system','ssl_policy');
+ fix_contact_ssl_policy($x[0],$ssl_policy);
+
+ // If we are setup as a soapbox we aren't accepting input from this person
+
+ if($x[0]['page-flags'] == PAGE_SOAPBOX)
+ break;
+
require_once('library/simplepie/simplepie.inc');
logger('mod-delivery: local delivery');
local_delivery($x[0],$atom);