]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-rallye.php
www is out-dated
[mailer.git] / inc / extensions / ext-rallye.php
index 812197fd9e13aa2dee599335e2accc16e38ea4ca..fe00417623539260fa9ea913acd4c4f617db42a4 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 *
@@ -63,7 +63,7 @@ switch (getExtensionMode()) {
 `send_notify` ENUM('Y','N') NOT NULL DEFAULT 'Y',
 `notified` ENUM('Y','N') NOT NULL DEFAULT 'N',
 PRIMARY KEY (`id`),
-KEY (`admin_id`)",
+INDEX (`admin_id`)",
                        'Main rallye data');
 
                addDropTableSql('rallye_prices');
@@ -308,7 +308,7 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLangu
                                break;
 
                        case '0.3.5': // SQL queries for 0.3.5
-                               // This update depends on sql_patches
+                               // This update depends on ext-sql_patches
                                addExtensionDependency('sql_patches');
 
                                // Register filter
@@ -319,7 +319,7 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLangu
                                break;
 
                        case '0.3.6': // SQL queries for v0.3.6
-                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`, `column_name`, `locked_mode`, `payment_method`) VALUES ('rallye_winner','points','LOCKED','DIRECT')");
+                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`) VALUES ('rallye_winner','points','LOCKED','DIRECT')");
 
                                // This depends on ext-sql_patches
                                addExtensionDependency('sql_patches');
@@ -346,14 +346,14 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLangu
                        // Add more data on higher versions
                        $ADD1 = ''; $ADD2 = ''; $OR = '';
                        if (isExtensionInstalledAndNewer('rallye', '0.2.0')) {
-                               $ADD1 = ", `min_users`, `min_prices`";
+                               $ADD1 = ", `min_users`,`min_prices`";
                                $ADD2 = ", d.`min_users`, d.`min_prices`";
                                $OR   = " OR (d.`min_users` <= " . $total . " AND d.`min_users` > 0)";
                        } // END  - if
 
                        // Check for new started but not notified rallyes
                        $result = SQL_QUERY("SELECT SQL_SMALL_RESULT
-       `id`, `title`, `start_time`, `end_time`, `send_notify`" . $ADD1 . "
+       `id`,`title`,`start_time`,`end_time`,`send_notify`" . $ADD1 . "
 FROM
        `{?_MYSQL_PREFIX?}_rallye_data`
 WHERE