Commit 7be3c952 authored by Florian Schaal's avatar Florian Schaal
Browse files

Hide Databases menu if no db-server is defined #4128

parent 18450149
......@@ -64,7 +64,7 @@ if(count($items))
}
// Databases menu
if($app->auth->get_client_limit($userid, 'database') != 0)
if($app->auth->get_client_limit($userid, 'database') != 0 && $app->system->has_service($userid, 'db'))
{
$items=array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment