Issue 6167: Don't publish non visible content

This commit is contained in:
Michael 2019-03-15 20:31:07 +00:00
parent 542e363a49
commit 4ff837488f
4 changed files with 3 additions and 8 deletions

View file

@ -99,11 +99,6 @@ class Notifier
return;
}
// Issue 6167: We don't distribute image uploads
if ($target_item['post-type'] == Item::PT_IMAGE) {
return;
}
if (!empty($target_item['contact-uid'])) {
$uid = $target_item['contact-uid'];
} elseif (!empty($target_item['uid'])) {