]> git.mxchange.org Git - mailer.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Tue, 6 Sep 2016 12:56:19 +0000 (14:56 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 6 Sep 2016 12:57:00 +0000 (14:57 +0200)
- also remove this ...

inc/extensions/ext-register.php

index 4bf06439f71fc34c47621fa2a61ce970d9867506..cda5aca543b1e78fbdf32da55877688a4d4033ce 100644 (file)
@@ -54,7 +54,7 @@ switch (getExtensionMode()) {
 
        case 'remove': // Do stuff when removing extension
                // SQL commands to run
-               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='config_register' LIMIT 1");
+               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what` IN ('config_register','config_register2')");
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `what`='register' LIMIT 1");
                addDropTableSql('must_register');