From: Roland Häder Date: Mon, 12 Nov 2012 19:03:33 +0000 (+0000) Subject: More fixes, debug lines commented out X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71037e83ebd9fa3d9554e9d664da5a3b8458ed51;p=mailer.git More fixes, debug lines commented out --- diff --git a/inc/db/lib-mysql3.php b/inc/db/lib-mysql3.php index 428f262bfd..3755ea6e0d 100644 --- a/inc/db/lib-mysql3.php +++ b/inc/db/lib-mysql3.php @@ -644,6 +644,7 @@ function ifSqlTableExists ($tableName) { // Is installation phase? if (isInstallationPhase()) { // Then silently abort here + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(SQL_IS_LINK_UP()) . ',tableName=' . $tableName . ' - Returning FALSE ...'); return FALSE; } else { // Please report this @@ -681,6 +682,7 @@ function ifSqlColumnExists ($tableName, $columnName) { // Is installation phase? if (isInstallationPhase()) { // Then silently abort here + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(SQL_IS_LINK_UP()) . ',tableName=' . $tableName . ',columnName=' . $columnName . ' - Returning FALSE ...'); return FALSE; } else { // Please report this @@ -714,6 +716,7 @@ function isSqlTableIndexFound ($tableName, $keyName) { // Is installation phase? if (isInstallationPhase()) { // Then silently abort here + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(SQL_IS_LINK_UP()) . ',tableName=' . $tableName . ',keyName=' . $keyName . ' - Returning FALSE ...'); return FALSE; } else { // Please report this diff --git a/inc/extensions/ext-user.php b/inc/extensions/ext-user.php index 994b40b929..91136eaf05 100644 --- a/inc/extensions/ext-user.php +++ b/inc/extensions/ext-user.php @@ -230,7 +230,7 @@ INDEX (`stats_type`)", break; case '0.1.2': // SQL queries for v0.1.2 - addExtensionAddTableColumnSql('online', 'mails_confirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'mails_confirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Dem Mitglied wird nun angezeigt, wie viele Mails er bestätigt hat. Alle vor dieser Version best. Mails werden leider nicht mehr berücksichtigt! Bitte teilen Sie dies Ihren Mitgliedern mit."); @@ -242,7 +242,7 @@ INDEX (`stats_type`)", break; case '0.1.4': // SQL queries for v0.1.4 - addExtensionAddTableColumnSql('online', 'emails_received', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'emails_received', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Anzahl empfangener Mails wird angezeigt. Diese Anzeige kann fehlerhaft sein, wenn Sie bereits Mitglieder in Ihrem {?mt_word?} haben sollen!"); @@ -355,7 +355,7 @@ INDEX (`stats_type`)", case '0.3.4': // SQL queries for v0.3.4 addConfigAddSql('select_user_zero_refid', "ENUM('Y','N') NOT NULL DEFAULT 'Y'"); addConfigAddSql('user_min_confirmed', 'SMALLINT(5) UNSIGNED NOT NULL DEFAULT 10'); - addExtensionAddTableColumnSql('online', 'rand_confirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); + addExtensionAddTableColumnSql('user_data', 'rand_confirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0'); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Mitglieder werden per Zufall als Referral-Id ausgewählt, die eine Mindestanzahl an bestätigten Mails haben, wenn die Ref-Id 0 ist."); @@ -618,7 +618,7 @@ INDEX (`subid`)", 'Sub id logging'); // For saving used subid in user_data table - addExtensionAddTableColumnSql('online', 'subid', 'VARCHAR(255) NULL DEFAULT NULL'); + addExtensionAddTableColumnSql('user_data', 'subid', 'VARCHAR(255) NULL DEFAULT NULL'); addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` ADD INDEX (`subid`)'); // Configuration entry for purging old subid logs (7 days default)