Removing deprecated references and files
This commit is contained in:
@@ -332,29 +332,7 @@ if ($RBAC->userCanAccess('PM_SETUP') === 1) {
|
||||
);
|
||||
}
|
||||
|
||||
if (!file_exists(PATH_DATA_SITE . "plugin.singleton")) {
|
||||
require_once PATH_CORE . 'methods' . PATH_SEP . 'enterprise' . PATH_SEP . 'enterprise.php';
|
||||
$enterprise = new enterprisePlugin('enterprise');
|
||||
$enterprise->enable();
|
||||
$enterprise->setup();
|
||||
}
|
||||
|
||||
$licStatusMsg = null;
|
||||
|
||||
if ($RBAC->userCanAccess('PM_SETUP') == 1) {
|
||||
if (
|
||||
$RBAC->userCanAccess('PM_SETUP_PLUGINS') === 1 &&
|
||||
$RBAC->userCanAccess('PM_SETUP_ADVANCE') === 1
|
||||
) {
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'PMENTERPRISE',
|
||||
'../enterprise/addonsStore',
|
||||
G::LoadTranslation('ID_MENU_NAME') . $licStatusMsg,
|
||||
'',
|
||||
'',
|
||||
'plugins'
|
||||
);
|
||||
}
|
||||
if ($RBAC->userCanAccess('PM_SETUP_CUSTOM_CASES_LIST') == 1) {
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'CASES_LIST_SETUP',
|
||||
|
||||
Reference in New Issue
Block a user