]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-newsletter.php
New feature of repaying points to user/jackpot/shred added
[mailer.git] / inc / extensions / ext-newsletter.php
index ed9e51e0c2383fb31e65496593793eefa964d19f..47153f507334ea1be9df33e7f8e7fec1e6f34eb3 100644 (file)
@@ -128,7 +128,7 @@ case "update": // Update an extension
                $UPDATE_NOTES = "Nur bei installierter Erweiterung <STRONG>html_mail</STRONG> k&ouml;nnen Sie auch HTML-Mails versenden.";
                break;
 
-       case "0.1.0": // SQL queries for v0.1.0
+       case "0.1.0": // SQL queries for v0.2.1
                $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD nl_month char(2) not null default '".date("m", time())."'";
 
                // Update notes (these will be set as task text!)
@@ -150,10 +150,10 @@ case "update": // Update an extension
        break;
 
 default: // Do stuff when extension is loaded
-       $DUMMY = LOAD_CONFIG("0");
-       $CONFIG['nl_charge']   = $DUMMY['nl_charge'];   // Charge for your members to switch off the newsletter
-       $CONFIG['nl_month']    = $DUMMY['nl_month'];    // Last month of check interval
-       unset($DUMMY);
+       $dummy = LOAD_CONFIG();
+       $_CONFIG['nl_charge']   = $dummy['nl_charge'];   // Charge for your members to switch off the newsletter
+       $_CONFIG['nl_month']    = $dummy['nl_month'];    // Last month of check interval
+       unset($dummy);
 
        // URL ends which are used to indentify the end of an URL or email link
        // Don't use these chars in links... ;-)
@@ -185,7 +185,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "newsletter";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>