Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / extensions / ext-birthday.php
index 6d408decc21809a9295d3b6ef3972ade4c35da75..223b85d70f229c38ced9f7ca40fbf2b678f38910 100644 (file)
@@ -160,7 +160,6 @@ KEY (`userid`)",
                                break;
 
                        case '0.3.6': // SQL queries for v0.3.6
-                               addConfigAddSql('birthday_mode', "ENUM('DIRECT','REF') NOT NULL DEFAULT 'DIRECT'");
                                addConfigAddSql('birthday_active', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
 
                                // Update notes (these will be set as task text!)
@@ -186,6 +185,13 @@ CHANGE `birth_year` `birth_year` SMALLINT(4) UNSIGNED ZEROFILL NOT NULL DEFAULT
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Datenbankspalten umgestellt auf SMALLINT() UNSIGNED ZEROFILL.");
                                break;
+
+                       case '0.4.0': // SQL queries for v0.4.0
+                               addConfigDropSql('birthday_mode');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Dies brauchen wir nicht mehr.");
+                               break;
                } // END - if
                break;