]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-top10.php
More other options moved out (to config_order)
[mailer.git] / inc / extensions / ext-top10.php
index 1e99c57c7f7ea919c8f480da949fcaf6b7ca7a63..19ac12ced016296e9672f3470afb324e3c554d5f 100644 (file)
@@ -56,7 +56,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD top10_max tinyint(4) not null default '10'";
 
        // Load CSS file?
-       $EXT_CSS = "Y";
+       $EXT_CSS = 'Y';
        break;
 
 case "remove": // Do stuff when removing extension
@@ -124,7 +124,7 @@ case "update": // Update an extension
                $UPDATE_NOTES = "Rechtschreibefehler beseitigt.";
                break;
 
-       case "0.1.0": // SQL queries for v0.1.0
+       case "0.1.0": // SQL queries for v0.2.1
                // Update notes (these will be set as task text!)
                $UPDATE_NOTES = "HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.";
                break;
@@ -142,9 +142,9 @@ case "update": // Update an extension
        break;
 
 default: // Do stuff when extension is loaded
-       $DUMMY = LOAD_CONFIG("0");
-       $CONFIG['top10_max'] = $DUMMY['top10_max'];
-       unset($DUMMY);
+       $dummy = LOAD_CONFIG();
+       $_CONFIG['top10_max'] = $dummy['top10_max'];
+       unset($dummy);
        break;
 }
 
@@ -152,7 +152,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "top10";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
+$EXT_ALWAYS_ACTIVE = 'N';
 
 //
 ?>