Moved "fix" files (which only helps to fix stuff) in own inc/fixes/ folder.
[mailer.git] / inc / extensions / sql_patches / mode-update.php
index fe3a7b1..12f05d7 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 *
@@ -577,7 +572,7 @@ UNIQUE INDEX `name_function` (`filter_name`, `filter_function`)",
                                setExtensionUpdateNotes("Filter-Tabelle bereinigt um doppelte Eintr&auml;ge und Unique-Key auf <span class=\"bad\">filter_name</span> und <span class=\"bad\">filter_function</span> zusammen gesetzt.");
 
                                // Add special fix include to fix filters
-                               addIncludeToPool('extension', 'inc/fix_filters.php');
+                               addIncludeToPool('extension', 'inc/fixes/fix_filters.php');
                                break;
 
                        case '0.6.4': // SQL queries for v0.6.4
@@ -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&uuml;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]