]> git.mxchange.org Git - mailer.git/blobdiff - doubler.php
More variables renamed to , install/admin_WriteData() is now generic (with open TODO)
[mailer.git] / doubler.php
index 869e3da1e507dfc2e1251e50fa8c79ff36bb829d..fb92ccfbd4d42ec769e6123dde6a73eecec8dcbf 100644 (file)
@@ -49,10 +49,7 @@ $CSS = 0;
 require("inc/config.php");
 
 // Is the "doubler" extension active?
-if (!EXT_IS_ACTIVE("doubler")) {
-       // Redirect to index
-       LOAD_URL("modules.php?module=index&msg={!CODE_EXTENSION_PROBLEM!}&ext=doubler");
-} // END - if
+REDIRECT_ON_UNINSTALLED_EXTENSION("doubler");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
@@ -161,7 +158,6 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
 
                                        // Update usage counter
                                        UPDATE_CONFIG("doubler_counter", 1, "+");
-                                       incrementCondigEntry('doubler_counter');
 
                                        // Set constant
                                        define('__DOUBLER_MSG', LOAD_TEMPLATE("doubler_reflink", true, $_POST['userid']));