diff options
author | friendica <info@friendica.com> | 2015-01-28 20:58:59 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-28 20:58:59 -0800 |
commit | e157371c39121db472cbc45b59ac89d847788648 (patch) | |
tree | 6673eebe64ae63d369fd139bb0fbbecfa20012d3 /mod/zotfeed.php | |
parent | a4960360669daa0a0c842427185ce1ada3b4ab97 (diff) | |
download | volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.gz volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.bz2 volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.zip |
remote_user => remote_channel
Diffstat (limited to 'mod/zotfeed.php')
-rw-r--r-- | mod/zotfeed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/zotfeed.php b/mod/zotfeed.php index 9ad93c1d4..7bf91d4db 100644 --- a/mod/zotfeed.php +++ b/mod/zotfeed.php @@ -11,7 +11,7 @@ function zotfeed_init(&$a) { if(! $mindate) $mindate = datetime_convert('UTC','UTC', 'now - 1 month'); - if(get_config('system','block_public') && (! get_account_id()) && (! remote_user())) { + if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) { $result['message'] = 'Public access denied'; json_return_and_die($result); } |