]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/sql_patches/mode-update.php
Updated copyright year.
[mailer.git] / inc / extensions / sql_patches / mode-update.php
index fe3a7b12b378345e96f538263061d25463f1bd62..74f48b1beab45535549c9064beaf5d8d7d2d389a 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Schritte fuer Updates von ext-sql_patches        *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -753,10 +748,6 @@ UNIQUE KEY (`subject`)",
                                addExtensionChangeTableColumnSql('points_data', 'ext_name', 'subject', "VARCHAR(255) NOT NULL DEFAULT ''");
                                addExtensionAddTableColumnSql('points_data', 'notify_recipient', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
 
-                               // Register points data
-                               registerExtensionPointsData('pool_payback', 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('mail_deleted', 'points', 'LOCKED', 'DIRECT');
-
                                // Remove deprecated configuration entry
                                addConfigDropSql('reg_points_mode');
 
@@ -950,6 +941,16 @@ PRIMARY KEY (`server_name_id`)
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("AJAX-Modul hinzugefügt.");
                                break;
+
+                       case '1.0.2': // SQL queries for v1.0.2
+                               // Register points data
+                               registerExtensionPointsData('pool_payback', 'points', 'LOCKED', 'DIRECT');
+                               registerExtensionPointsData('mail_deleted', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("registerExtensionPointsData() klappt bei der ersten Installation nicht, da die Spalte <em>account_provider</em> fehlt.");
+                               break;
+
                } // END - switch
 
 // [EOF]