aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-25 21:21:54 -0700
committerfriendica <info@friendica.com>2014-06-25 21:21:54 -0700
commit74fe151f963e8978c85e4b75051fc7706b096579 (patch)
tree6ad090752e103821b429330530460ef00667e17c
parentfc7e782ba56a456fc7aca840d679e530dce70544 (diff)
downloadvolse-hubzilla-74fe151f963e8978c85e4b75051fc7706b096579.tar.gz
volse-hubzilla-74fe151f963e8978c85e4b75051fc7706b096579.tar.bz2
volse-hubzilla-74fe151f963e8978c85e4b75051fc7706b096579.zip
bring back profile_tabs for unauthenticated visitors to /cloud page
-rw-r--r--include/conversation.php2
-rw-r--r--include/reddav.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0ca3e88f0..d8d60ee10 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1469,7 +1469,6 @@ function network_tabs() {
function profile_tabs($a, $is_owner=False, $nickname=Null){
//echo "<pre>"; var_dump($a->user); killme();
-
$channel = $a->get_channel();
@@ -1565,7 +1564,6 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
}
-
$arr = array('is_owner' => $is_owner, 'nickname' => $nickname, 'tab' => (($tab) ? $tab : false), 'tabs' => $tabs);
call_hooks('profile_tabs', $arr);
diff --git a/include/reddav.php b/include/reddav.php
index 968f03dc8..e03aa20ee 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -893,7 +893,7 @@ class RedBrowser extends DAV\Browser\Plugin {
$version = '';
require_once('include/conversation.php');
- if ($this->auth->channel_name)
+ if ($this->auth->owner_nick)
$html = profile_tabs(get_app(),(($is_owner) ? true : false),$this->auth->owner_nick);
$files = $this->server->getPropertiesForPath($path,array(