Removing deprecated references and files

This commit is contained in:
Fernando Ontiveros
2025-04-02 00:00:00 +00:00
parent 884e67f883
commit d3bd0fcfbc
117 changed files with 40 additions and 14127 deletions

View File

@@ -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',