aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-26 16:09:07 -0700
committerfriendica <info@friendica.com>2014-03-26 16:09:07 -0700
commit79f5fd8e2a4959b78cf8be6312962849e14e9d85 (patch)
treee245fc0558f7639daef304a462823920b3cafedc /include/identity.php
parentbd7be38da5fea67d2302693e28a4c070cdad8f4b (diff)
downloadvolse-hubzilla-79f5fd8e2a4959b78cf8be6312962849e14e9d85.tar.gz
volse-hubzilla-79f5fd8e2a4959b78cf8be6312962849e14e9d85.tar.bz2
volse-hubzilla-79f5fd8e2a4959b78cf8be6312962849e14e9d85.zip
allow zotfeed to create a firehose of a site.
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index c8a925dac..97c29516c 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -109,6 +109,15 @@ function get_sys_channel() {
return false;
}
+function is_sys_channel($channel_id) {
+ $r = q("select channel_pageflags from channel where channel_id = %d limit 1",
+ intval($channel_id)
+ );
+ if(($r) && ($r[0]['channel_pageflags'] & PAGE_SYSTEM))
+ return true;
+ return false;
+}
+
/**
* @channel_total()