aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-10 16:51:35 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-10 16:51:35 +0200
commite6f1fb3d954fc1354581a93509f8f64662aef2b5 (patch)
tree986e9c45ec1e803a9bbd34d528febe3386f017f1 /Zotlabs/Module/Channel.php
parent030d703a05084fa4efec7afece7948846dd6f6a9 (diff)
downloadvolse-hubzilla-e6f1fb3d954fc1354581a93509f8f64662aef2b5.tar.gz
volse-hubzilla-e6f1fb3d954fc1354581a93509f8f64662aef2b5.tar.bz2
volse-hubzilla-e6f1fb3d954fc1354581a93509f8f64662aef2b5.zip
remove notifications code from nav and go live with new notifications
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index 508d2b57a..14d02d873 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -92,11 +92,6 @@ class Channel extends \Zotlabs\Web\Controller {
// Ensure we've got a profile owner if updating.
\App::$profile['profile_uid'] = \App::$profile_uid = $update;
}
- else {
- if(\App::$profile['profile_uid'] == local_channel()) {
- nav_set_selected('Channel Home');
- }
- }
$is_owner = (((local_channel()) && (\App::$profile['profile_uid'] == local_channel())) ? true : false);
@@ -119,6 +114,8 @@ class Channel extends \Zotlabs\Web\Controller {
if(! $update) {
+ nav_set_selected('Channel Home');
+
$static = channel_manual_conv_update(\App::$profile['profile_uid']);
//$o .= profile_tabs($a, $is_owner, \App::$profile['channel_address']);