Commit 60acf2ea authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

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



See merge request !421
parents 86bfbd4a 7be3c952
......@@ -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