X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doubler.php;h=fb92ccfbd4d42ec769e6123dde6a73eecec8dcbf;hb=f18a3b60125c8c65861e3205da40447b227f89c9;hp=869e3da1e507dfc2e1251e50fa8c79ff36bb829d;hpb=84317e249885eb03a99f2946acf285ff27d506ac;p=mailer.git diff --git a/doubler.php b/doubler.php index 869e3da1e5..fb92ccfbd4 100644 --- a/doubler.php +++ b/doubler.php @@ -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']));