From: Roland Häder Date: Tue, 5 Aug 2008 14:18:54 +0000 (+0000) Subject: SQL query fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7639f20342bea7665b00d22025b028408c005f1;p=mailer.git SQL query fixed --- diff --git a/inc/extensions/ext-doubler.php b/inc/extensions/ext-doubler.php index 0f4b83d7e5..1ba8512590 100644 --- a/inc/extensions/ext-doubler.php +++ b/inc/extensions/ext-doubler.php @@ -173,9 +173,6 @@ case "update": // Update an extension break; case "0.0.6": // SQL queries for v0.0.6 - $SQLs[] = "UPDATE "._MYSQL_PREFIX."_config SET doubler_used=doubler_used+(SUM(d.points)*c.doubler_charge) -FROM "._MYSQL_PREFIX."_doubler AS d, "._MYSQL_PREFIX."_config AS c -WHERE d.completed='N'"; $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD doubler_max_sent tinyint(4) not null default '1'"; $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD doubler_group_sent tinyint(4) not null default '1'"; $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD doubler_sent_all enum('Y', 'N') not null default 'Y'";