More fixes from bugtracker issues, thanks to profi-concept
[mailer.git] / inc / extensions / ext-other.php
index 719e9a7cd35e51cfe234116004a4226818353b92..52a1974345e6615c2938140575298cf975594796 100644 (file)
@@ -50,12 +50,12 @@ switch ($EXT_LOAD_MODE)
 {
 case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called)
        // SQL commands to run
-       $SQLs[] = "";
+       $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_other','Sonstige Einstellungen','Sonstige Einstellungen an Ihrem Mailtausch.','13')";
        break;
 
 case "remove": // Do stuff when removing extension
        // SQL commands to run
-       $SQLs[] = "";
+       $SQLs[] = "DELETE LOW_PRIORITY FROM `"._MYSQL_PREFIX."_admin_menu` WHERE what='config_other' LIMIT 1";
        break;
 
 case "activate": // Do stuff when admin activates this extension