aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
committerfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
commite157371c39121db472cbc45b59ac89d847788648 (patch)
tree6673eebe64ae63d369fd139bb0fbbecfa20012d3 /mod/channel.php
parenta4960360669daa0a0c842427185ce1ada3b4ab97 (diff)
downloadvolse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.gz
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.bz2
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.zip
remote_user => remote_channel
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 493730e8a..1a471718d 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -52,7 +52,7 @@ function channel_content(&$a, $update = 0, $load = false) {
$datequery = ((x($_GET,'dend') && is_a_date_arg($_GET['dend'])) ? notags($_GET['dend']) : '');
$datequery2 = ((x($_GET,'dbegin') && is_a_date_arg($_GET['dbegin'])) ? notags($_GET['dbegin']) : '');
- if(get_config('system','block_public') && (! get_account_id()) && (! remote_user())) {
+ if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) {
return login();
}