- LOAD_URL("modules.php?module=index");
-} elseif ((!EXT_IS_ACTIVE("bank")) && (!IS_ADMIN())) {
- ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "bank");
+ redirectToUrl('modules.php?module=index');
+} elseif ((!EXT_IS_ACTIVE('bank')) && (!IS_ADMIN())) {
+ addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveMessage('bank'));