]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
Moved and fixed typo in REDIRECT_ON_UNINSTALLED_EXTENSION()
[mailer.git] / mailid_top.php
index 04f65fbea750cd390375a00d9c46b087e1ca957a..7e4f9a2f4084d89d5d63c29e89d3fa00c68206e1 100644 (file)
@@ -52,10 +52,7 @@ require('inc/config.php');
 
 if (isInstalled()) {
        // Is the extension active
-       if (!EXT_IS_ACTIVE('mailid', true)) {
-               // Is not activated/installed yet!
-               addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'mailid');
-       } // END - if
+       REDIRECT_ON_UNINSTALLED_EXTENSION('mailid');
 
        // Secure all data
        $url_uid = 0; $url_bid = 0; $url_mid = 0; $code = 0; $mode = '';