mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Hide new update manager menu to all users except PM
This commit is contained in:
parent
4734d666bf
commit
7a8a5f9e5f
@ -425,6 +425,7 @@ foreach ($rows as $row) {
|
||||
$menu_godmode["links"]["sub"] = $sub;
|
||||
|
||||
// Update Manager
|
||||
if (check_acl ($config['id_user'], 0, "PM")) {
|
||||
$menu_godmode["messages"]["text"] = __('Update manager');
|
||||
$menu_godmode["messages"]["sec2"] = "";
|
||||
$menu_godmode["messages"]["id"] = "god-um_messages";
|
||||
@ -453,6 +454,8 @@ if (license_free() && is_user_admin ($config['id_user'])) {
|
||||
}
|
||||
|
||||
$menu_godmode["messages"]["sub"] = $sub;
|
||||
}
|
||||
|
||||
|
||||
if (!$config['pure']) {
|
||||
menu_print_menu ($menu_godmode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user