aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-15 19:31:38 -0700
committerfriendica <info@friendica.com>2013-06-15 19:31:38 -0700
commitf338da04e13990de57dabc3a284945486f96c741 (patch)
treecc403089db51b9bbfc9c69a793c71b8b0f51418f /include
parentee21dfc2456dee1c5e0f22e8ca57a236d5c9a0b3 (diff)
downloadvolse-hubzilla-f338da04e13990de57dabc3a284945486f96c741.tar.gz
volse-hubzilla-f338da04e13990de57dabc3a284945486f96c741.tar.bz2
volse-hubzilla-f338da04e13990de57dabc3a284945486f96c741.zip
don't federate webpages ;-)
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php
index d72fa29b5..7d107e4d4 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -236,6 +236,12 @@ function notifier_run($argv, $argc){
return;
}
+ if($target_item['item_restrict'] & ITEM_WEBPAGE) {
+ logger('notifier: target item ITEM_WEBPAGE', LOGGER_DEBUG);
+ return;
+ }
+
+
$s = q("select * from channel where channel_id = %d limit 1",
intval($target_item['uid'])
);