aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-26 21:42:07 +0200
committergit-marijus <mario@mariovavti.com>2017-07-26 21:42:07 +0200
commite71cdf02a8303689c933b98185e2671f49fc5a7d (patch)
treec277326391fbc748cb905e462e9a51b01381c34b /Zotlabs/Lib
parentcaf077cbf893cd02932194e1641c861ffcc2e339 (diff)
downloadvolse-hubzilla-e71cdf02a8303689c933b98185e2671f49fc5a7d.tar.gz
volse-hubzilla-e71cdf02a8303689c933b98185e2671f49fc5a7d.tar.bz2
volse-hubzilla-e71cdf02a8303689c933b98185e2671f49fc5a7d.zip
move the active app code to include/nav.php - it is only relevant there
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Apps.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index 08f054eaf..68587df49 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -284,9 +284,6 @@ class Apps {
if(! $papp['photo'])
$papp['photo'] = z_root() . '/' . get_default_profile_photo(80);
- if(\App::$nav_sel['active'] == $papp['name'])
- $papp['active'] = true;
-
self::translate_system_apps($papp);
if(trim($papp['plugin']) && (! plugin_is_installed(trim($papp['plugin']))))