Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
60acf2ea
Commit
60acf2ea
authored
Aug 19, 2016
by
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
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/web/sites/lib/module.conf.php
View file @
60acf2ea
...
@@ -64,7 +64,7 @@ if(count($items))
...
@@ -64,7 +64,7 @@ if(count($items))
}
}
// Databases menu
// 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
();
$items
=
array
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment