X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-order.php;h=b54b5dead6a6c55d3fb907aee3fddf1e2eb2bdc2;hb=f3d551785f428496a569509285c462191fa92f4a;hp=37854c2fc62c6d15afe07c5f5e8f4f593e30ab8c;hpb=f80c8bcb6e503a761c07731b4741d718edb844c6;p=mailer.git diff --git a/inc/extensions/ext-order.php b/inc/extensions/ext-order.php index 37854c2fc6..b54b5dead6 100644 --- a/inc/extensions/ext-order.php +++ b/inc/extensions/ext-order.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -51,7 +49,7 @@ setExtensionVersionHistory(array('0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1 switch (getExtensionMode()) { case 'register': // Do stuff when installation is running (modules.php?module=admin is called) // SQL commands to run - addExtensionSql(''); + addMemberMenuSql('order','order','Mailbuchung','N','Y',1); break; case 'remove': // Do stuff when removing extension @@ -75,7 +73,7 @@ switch (getExtensionMode()) { case 'update': // Update an extension switch (getCurrentExtensionVersion()) { case '0.1.0': // SQL queries for v0.1 - addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD order_max_full ENUM('ORDER','MAX') NOT NULL DEFAULT 'MAX'"); + addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `order_max_full` ENUM('ORDER','MAX') NOT NULL DEFAULT 'MAX'"); addAdminMenuSql('setup','config_order','Mailbuchungsseite','Einstellungen am Mailbuchungsformular.',7); // Update notes (these will be set as task text!) @@ -314,13 +312,6 @@ INDEX (`pool_id`) setExtensionUpdateNotes("Tabelle für URL-Sperrliste angelegt."); break; - case '0.5.1': // SQL queries for v0.5.1 - addMemberMenuSql('main','order','Mailbuchung','N','Y',8); - - // Update notes (these will be set as task text!) - setExtensionUpdateNotes("Weiteren Menü-Query in Erweiterung verlagert."); - break; - case '0.5.2': // SQL queries for v0.5.2 addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `test_text`"); addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` DROP `test_subj`");