diff --git a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php index 4c02e07..70453f9 100644 --- a/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php +++ b/dd-apps/docker/nextcloud/src/themes/dd/core/templates/layout.user.php @@ -23,7 +23,6 @@ $api_url = "https://" . preg_replace('/^nextcloud\./', 'api.', $_SERVER['HTTP_HOST']); $avatar_url = "https://" . preg_replace('/^nextcloud\./', 'sso.', $_SERVER['HTTP_HOST']) . "/auth/realms/master/avatar-provider"; $profile_url = "https://" . preg_replace('/^nextcloud\./', 'sso.', $_SERVER['HTTP_HOST']) . "/auth/realms/master/account"; - $showsettings = in_array($_['user_uid'], ['admin', 'ddadmin']) ? true : false; // Remove user menu Settings item for non-administrator users if(!array_key_exists('core_apps', $_["settingsnavigation"])){ @@ -154,22 +153,14 @@ - -