]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
New extension added, more EL-rewrites, naming-convention applied:
[mailer.git] / inc / extensions-functions.php
index a05bb7b4e183df819de0ec99728d57f49553992a..06a2c16f5696b999b8b4c69ab4e09a838fb3369a 100644 (file)
@@ -377,11 +377,10 @@ function registerExtension ($ext_name, $task_id, $dry_run = false, $logout = tru
                                // In normal mode return a true on success
                                $ret = true;
                        } elseif (getExtensionDryRun() === true) {
-                               // In  "dry-run" mode return array with all SQL commands
-                               $ret = getExtensionSqls();
+                               // In  "dry-run" mode do always return a true
+                               $ret = true;
 
                                // Re-init queries and notes
-                               initExtensionSqls(true);
                                initExtensionNotes();
                        } else {
                                // Extension has been removed for updates, so all is fine!