move the active app code to include/nav.php - it is only relevant there
This commit is contained in:
@@ -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']))))
|
||||
|
Reference in New Issue
Block a user