]> git.mxchange.org Git - friendica.git/blobdiff - include/notifier.php
fix banner in duepuntozero
[friendica.git] / include / notifier.php
index 98e38fb115ea0ea24b4ef4af5471c4f8873022ae..5de6eafd10eafb9f19b08803bb8f87b514553a9d 100644 (file)
@@ -27,8 +27,6 @@ function notifier_run($argv, $argc){
 
        $a->set_baseurl(get_config('system','url'));
 
-       $prv = get_config('system','strict_privacy');
-
        logger('notifier: invoked: ' . print_r($argv,true));
 
        $cmd = $argv[1];
@@ -332,9 +330,6 @@ function notifier_run($argv, $argc){
                                        break;
                                case 'stat':
 
-                                       if($prv)
-                                               break;
-
                                        if($followup && $contact['notify']) {
                                                logger('notifier: slapdelivery: ' . $contact['name']);
                                                $deliver_status = slapper($owner,$contact['notify'],$slap);
@@ -465,7 +460,7 @@ function notifier_run($argv, $argc){
 
        if($slap && count($url_recipients) && $followup && $notify_hub && (! $expire)) {
                foreach($url_recipients as $url) {
-                       if($url && (! $prv)) {
+                       if($url) {
                                logger('notifier: urldelivery: ' . $url);
                                $deliver_status = slapper($owner,$url,$slap);
                                // TODO: redeliver/queue these items on failure, though there is no contact record
@@ -517,6 +512,8 @@ function notifier_run($argv, $argc){
 
                if((count($r)) && (($max_allowed == 0) || (count($r) < $max_allowed))) {
 
+                       logger('pubdeliver: ' . print_r($r,true));
+
                        foreach($r as $rr) {
 
                                /* Don't deliver to folks who have already been delivered to */