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');
// 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