aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-12 17:42:52 -0700
committerfriendica <info@friendica.com>2013-08-12 17:42:52 -0700
commit04f8de184e8c925e38335eb18c102985ce421f95 (patch)
treecb76523a177d6d8a2e3461a58dcd49ea818fab59 /include
parent28a8b821b0586ec430a554c520bc079f9d4dc63f (diff)
downloadvolse-hubzilla-04f8de184e8c925e38335eb18c102985ce421f95.tar.gz
volse-hubzilla-04f8de184e8c925e38335eb18c102985ce421f95.tar.bz2
volse-hubzilla-04f8de184e8c925e38335eb18c102985ce421f95.zip
block content-type (called ITEM_BUILDBLOCK to avoid confusion with content that is blocked)
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php
index dea9d6072..a0c07200a 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -241,6 +241,11 @@ function notifier_run($argv, $argc){
return;
}
+ if($target_item['item_restrict'] & ITEM_BUILDBLOCK) {
+ logger('notifier: target item ITEM_BUILDBLOCK', LOGGER_DEBUG);
+ return;
+ }
+
$s = q("select * from channel where channel_id = %d limit 1",
intval($target_item['uid'])