1
1
Fork 0

retractions - precedence issue

This commit is contained in:
Friendika 2011-08-23 04:02:29 -07:00
parent 99681e33af
commit 91de9edecd

View file

@ -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;