mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
bring back profile_tabs for unauthenticated visitors to /cloud page
This commit is contained in:
parent
fc7e782ba5
commit
74fe151f96
2 changed files with 1 additions and 3 deletions
|
@ -1470,7 +1470,6 @@ function network_tabs() {
|
|||
function profile_tabs($a, $is_owner=False, $nickname=Null){
|
||||
//echo "<pre>"; var_dump($a->user); killme();
|
||||
|
||||
|
||||
$channel = $a->get_channel();
|
||||
|
||||
if (is_null($nickname))
|
||||
|
@ -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);
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue