X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-bank.php;h=43dc0757cdcc76ba93fe96a74f451e48517f649f;hb=985561270461045c64719266ca6b3a795f6cd76a;hp=2a146ade0bfe156803a31c8e5adc0ff47e590ce1;hpb=a2fb5d910abdb67e745f9b9a01601d6258c1b10c;p=mailer.git diff --git a/inc/extensions/ext-bank.php b/inc/extensions/ext-bank.php index 2a146ade0b..43dc0757cd 100644 --- a/inc/extensions/ext-bank.php +++ b/inc/extensions/ext-bank.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -74,7 +74,7 @@ switch (getExtensionMode()) { `overdraft_credit` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000, PRIMARY KEY (`id`), UNIQUE (`pin`), -INDEX `userid_type` (`userid`, `account_type`), +INDEX `userid_type` (`userid`,`account_type`), INDEX (`account_created`), INDEX (`account_locked`), INDEX (`last_tan_stamp`)", @@ -90,8 +90,8 @@ INDEX (`last_tan_stamp`)", `day_available` CHAR(4) NOT NULL DEFAULT '0000', `transfer_purpose` TINYTEXT, PRIMARY KEY (`id`), -INDEX (`to_account_id`, `from_account_id`), -INDEX (`day_bookkeeping`, `day_available`)", +INDEX (`to_account_id`,`from_account_id`), +INDEX (`day_bookkeeping`,`day_available`)", 'Bank user->user transfers'); addDropTableSql('bank_packages'); @@ -127,7 +127,7 @@ PRIMARY KEY (`id`)", `tan` VARCHAR(50) NOT NULL DEFAULT '', `used` ENUM('Y','N') NOT NULL DEFAULT 'N', PRIMARY KEY (`id`), -UNIQUE (`account_id`, `tan`)", +UNIQUE (`account_id`,`tan`)", 'Bank TAN lists per user'); // Admin menu queries @@ -169,12 +169,12 @@ UNIQUE (`account_id`, `tan`)", case 'activate': // Do stuff when admin activates this extension // SQL commands to run - addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y', `locked`='N' WHERE `action`='bank' LIMIT 8"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y',`locked`='N' WHERE `action`='bank' LIMIT 8"); break; case 'deactivate': // Do stuff when admin deactivates this extension // SQL commands to run - addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N', `locked`='Y' WHERE `action`='bank' LIMIT 8"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N',`locked`='Y' WHERE `action`='bank' LIMIT 8"); break; case 'update': // Update an extension