more calendar work, undo strict_privacy flag to use different approach

This commit is contained in:
Friendika
2011-06-08 21:06:02 -07:00
parent a10abd4860
commit df8ac668b8
10 changed files with 119 additions and 51 deletions

View 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