From: Roland Häder Date: Sat, 24 Nov 2012 12:38:53 +0000 (+0000) Subject: More fixes for wrong table name :( X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c006b598f58ffefb61292c2f5abf099fd9675ae5;p=mailer.git More fixes for wrong table name :( --- diff --git a/inc/extensions/ext-active.php b/inc/extensions/ext-active.php index 340eeb4592..89541f5506 100644 --- a/inc/extensions/ext-active.php +++ b/inc/extensions/ext-active.php @@ -117,7 +117,7 @@ switch (getExtensionMode()) { break; case '0.0.9': // SQL queries for v0.0.9 - // Make update depending on 'online' + // Make update depending on ext-online addExtensionDependency('online'); // Register filter diff --git a/inc/extensions/ext-beg.php b/inc/extensions/ext-beg.php index b2bbb5d49c..493182c02a 100644 --- a/inc/extensions/ext-beg.php +++ b/inc/extensions/ext-beg.php @@ -57,7 +57,7 @@ switch (getExtensionMode()) { addConfigAddSql('beg_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 600'); addConfigAddSql('beg_userid_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1800'); addConfigAddSql('beg_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00100'); - addExtensionAddTableColumnSql('online', 'beg_clicks', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'beg_clicks', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); // Table for IP locks addDropTableSql('beg_ips'); @@ -210,9 +210,9 @@ INDEX (`userid`)", addConfigAddSql('beg_new_mem_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'"); addConfigAddSql('beg_notify_bonus', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000'); addConfigAddSql('beg_notify_wait', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30'); - addExtensionAddTableColumnSql('online', 'beg_ral_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); - addExtensionAddTableColumnSql('online', 'beg_ral_en_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); - addExtensionAddTableColumnSql('online', 'beg_ral_di_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'beg_ral_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'beg_ral_en_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'beg_ral_di_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Die Mitglieder können nun optional automatisch über eine aktivierte und/oder deaktivierte Bettel-Rallye informiert werden. Beide Benachrichtigungen können Sie unter Einstellungen --> Bettel-Link/-rallye seperat ein- und ausschalten! Zudem ist eine Sperre gegen eingeloggte Mitglieder eingebaut, die das Klicken auf den eigenen Bettel-Link etwas erschweren soll."); diff --git a/inc/extensions/ext-doubler.php b/inc/extensions/ext-doubler.php index 6a6cb9147d..3736a67dc1 100644 --- a/inc/extensions/ext-doubler.php +++ b/inc/extensions/ext-doubler.php @@ -95,7 +95,7 @@ INDEX (`userid`)", // Number of entries which are already payed out addConfigAddSql('doubler_display_old', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10'); // Points used by every member - addExtensionAddTableColumnSql('online', 'doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000'); + addExtensionAddTableColumnSql('user_data', 'doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000'); // Counter for usage of the doubler addConfigAddSql('doubler_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');