move the active app code to include/nav.php - it is only relevant there

This commit is contained in:
git-marijus
2017-07-26 21:42:07 +02:00
parent caf077cbf8
commit e71cdf02a8
2 changed files with 3 additions and 3 deletions

View File

@@ -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']))))