diff options
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/notifier.php b/include/notifier.php index 93df670f1..4068a9fae 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -513,7 +513,7 @@ function notifier_run($argv, $argc){ // unsupported break; } - elseif($target_item['deleted'] && (! $parent_item['verb'] === ACTIVITY_LIKE)) { + elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) { // diaspora delete, diaspora_send_retraction($target_item,$owner,$contact); break; @@ -628,7 +628,7 @@ function notifier_run($argv, $argc){ require_once('include/diaspora.php'); if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode)) break; - + if(! $contact['pubkey']) break; @@ -636,7 +636,7 @@ function notifier_run($argv, $argc){ // unsupported break; } - elseif($target_item['deleted'] && (! $parent_item['verb'] === ACTIVITY_LIKE)) { + elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) { // diaspora delete, diaspora_send_retraction($target_item,$owner,$n[0]); break; |