aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.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/profile.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/profile.php')
-rw-r--r--mod/profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index e37aea863..430d039e9 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -51,7 +51,7 @@ function profile_init(&$a) {
function profile_content(&$a, $update = 0) {
- if(get_config('system','block_public') && (! get_account_id()) && (! remote_user())) {
+ if(get_config('system','block_public') && (! get_account_id()) && (! remote_channel())) {
return login();
}
@@ -68,7 +68,7 @@ function profile_content(&$a, $update = 0) {
$is_owner = ((local_channel()) && (local_channel() == $a->profile['profile_uid']) ? true : false);
- if($a->profile['hidewall'] && (! $is_owner) && (! remote_user())) {
+ if($a->profile['hidewall'] && (! $is_owner) && (! remote_channel())) {
notice( t('Permission denied.') . EOL);
return;
}