aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zotfeed.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 /mod/zotfeed.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 'mod/zotfeed.php')
-rw-r--r--mod/zotfeed.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/zotfeed.php b/mod/zotfeed.php
index 6d84a5a1e..1f5dc2cfa 100644
--- a/mod/zotfeed.php
+++ b/mod/zotfeed.php
@@ -25,6 +25,11 @@ function zotfeed_init(&$a) {
dbesc(argv(1))
);
}
+ else {
+ $x = get_sys_channel();
+ if($x)
+ $r = array($x);
+ }
if(! $r) {
$result['message'] = 'Channel not found.';
json_return_and_die($result);