aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 04:02:29 -0700
committerFriendika <info@friendika.com>2011-08-23 04:02:29 -0700
commit91de9edecd2663d5e3313da1b8a01a35e7e8970e (patch)
tree3f5442dc8d856ad02291f8674cc92c610617b345
parent99681e33af20bc35e6992eb1e8869fb6ebcce39e (diff)
downloadvolse-hubzilla-91de9edecd2663d5e3313da1b8a01a35e7e8970e.tar.gz
volse-hubzilla-91de9edecd2663d5e3313da1b8a01a35e7e8970e.tar.bz2
volse-hubzilla-91de9edecd2663d5e3313da1b8a01a35e7e8970e.zip
retractions - precedence issue
-rw-r--r--include/notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 4068a9fae..55d74eb5f 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -513,7 +513,7 @@ function notifier_run($argv, $argc){
// unsupported
break;
}
- elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) {
+ elseif(($target_item['deleted']) && ($target_item['verb'] !== ACTIVITY_LIKE)) {
// diaspora delete,
diaspora_send_retraction($target_item,$owner,$contact);
break;
@@ -636,7 +636,7 @@ function notifier_run($argv, $argc){
// unsupported
break;
}
- elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) {
+ elseif(($target_item['deleted']) && ($target_item['verb'] !== ACTIVITY_LIKE)) {
// diaspora delete,
diaspora_send_retraction($target_item,$owner,$n[0]);
break;