]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-admins.php
ADD UNIQUE ... what? INDEX now. And auto-unregistration of missing filter functions...
[mailer.git] / inc / extensions / ext-admins.php
index c70d07f972535244dbc9fbabf5b30bcc1221e6e5..a12fe03ea9a8a22b04b984e80ade3640cb3835d3 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -110,7 +110,7 @@ switch (getExtensionMode()) {
 `what_menu` VARCHAR(255) NOT NULL DEFAULT '',
 `access_mode` ENUM('deny','allow') NOT NULL DEFAULT 'deny',
 PRIMARY KEY (`id`),
-KEY (`admin_id`)",
+INDEX (`admin_id`)",
                                        'Access control lines (ACLs)');
 
                                // Update notes (these will be set as task text!)
@@ -130,7 +130,7 @@ KEY (`admin_id`)",
 PRIMARY KEY (`id`),
 INDEX (`admin_id`)",
                                        'Mail template -> admin connection table');
-                               addExtensionSql("INSERT INTO  `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie können dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
+                               addExtensionSql("INSERT INTO  `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie können dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Kontrollieren Sie, welche Mails welcher Admin oder alle (admin_id=0) bekommen soll oder im UserLog (admin_id=-1) verzeichnet werden soll. Standardmässig wird weiter an alle versendet.");
@@ -291,7 +291,7 @@ INDEX (`admin_id`)",
                                break;
 
                        case '0.7.1': // SQL queries for v0.7.1
-                               // Update depends on sql_patches
+                               // Update depends on ext-sql_patches
                                addExtensionDependency('sql_patches');
 
                                // Add filters