]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-wernis.php
Templates rewritten/fixed, surfbar extended with per-entry reload lock
[mailer.git] / inc / extensions / ext-wernis.php
index 6fd0478df3806655c0cdd16538a09b8e5a417ef2..d457bc937a78b21c8d8ab3d94f0a78529ba0ef7c 100644 (file)
@@ -53,10 +53,10 @@ case "register": // Do stuff when installation is running (modules.php?module=ad
        $SQLs[] = "DROP TABLE IF EXISTS "._MYSQL_PREFIX."_user_wernis";
        $SQLs[] = "CREATE TABLE "._MYSQL_PREFIX."_user_wernis (
 id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-userid BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
+userid BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 wernis_account VARCHAR(255) NOT NULL DEFAULT '',
-wernis_amount DOUBLE(22,5) UNSIGNED NOT NULL DEFAULT '0.00000',
-wernis_timestamp VARCHAR(10) NOT NULL DEFAULT '0',
+wernis_amount DOUBLE(22,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+wernis_timestamp VARCHAR(10) NOT NULL DEFAULT 0,
 wernis_type ENUM('IN','OUT','FAILED') NOT NULL DEFAULT 'FAILED',
 wernis_api_message TINYTEXT,
 wernis_api_status VARCHAR(255) NULL DEFAULT NULL,
@@ -67,7 +67,7 @@ PRIMARY KEY(id)
        // Confiuration
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_min_payout BIGINT(20) UNSIGNED NOT NULL DEFAULT '40000'";
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_min_withdraw BIGINT(20) UNSIGNED NOT NULL DEFAULT '5000'";
-       $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_id BIGINT(20) UNSIGNED NOT NULL DEFAULT '0'";
+       $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0";
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_md5 VARCHAR(32) NOT NULL DEFAULT ''";
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_url VARCHAR(255) NOT NULL DEFAULT 'http://www.wds66.com/api/'";
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_refid VARCHAR(6) NOT NULL DEFAULT ''";