]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-top10.php
More fixes on cache to reduce queries
[mailer.git] / inc / extensions / ext-top10.php
index 1e99c57c7f7ea919c8f480da949fcaf6b7ca7a63..6fc5afdf5e51a5fce43b44c4cbb70d970789b154 100644 (file)
@@ -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 = array_merge($_CONFIG, $dummy);
+       unset($dummy);
        break;
 }