]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Moved and fixed typo in REDIRECT_ON_UNINSTALLED_EXTENSION()
[mailer.git] / inc / functions.php
index 8c8d7e15bdba31c04a8f5f8a73e2b16f948daea6..d96e2dbf60f3bc90cae02d3b6edc12a32aaa5c70 100644 (file)
@@ -2826,16 +2826,6 @@ function convertCodeToMessage ($code) {
        return $msg;
 }
 
-// Checks wether the given extension is currently not installed
-// and redirects if so.
-function REDIRCT_ON_UNINSTALLED_EXTENSION ($ext_name) {
-       // Is the extension uninstalled/inactive?
-       if (!EXT_IS_ACTIVE($ext_name)) {
-               // Redirect to index
-               LOAD_URL('modules.php?module=index&msg=' . getCode('EXTENSION_PROBLEM') . '&ext=' . $ext_name);
-       } // END - if
-}
-
 // Generate a "link" for the given admin id (aid)
 function GENERATE_AID_LINK ($aid) {
        // No assigned admin is default