allow zotfeed to create a firehose of a site.

This commit is contained in:
friendica
2014-03-26 16:09:07 -07:00
parent bd7be38da5
commit 79f5fd8e2a
5 changed files with 43 additions and 18 deletions

View File

@@ -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()