Removes now redundant user.cards check
This commit is contained in:
1 parent
d0286c355f
commit
52f71eb11b
2 files changed
-6
No files matched your search
@@ -23,9 +23,6 @@ function getParameterByName(name) {
|
||||
function update_user_with_card_details(user) {
|
||||
/* Cards with a number lower than this is legacy as of 2015-08 */
|
||||
var legacy_card_limit = 100000000;
|
||||
if(user.cards === '') {
|
||||
return user;
|
||||
}
|
||||
|
||||
for(var j=0; j<user.cards.length; j++) {
|
||||
if(parseInt(user.cards[j].card_number, 10) < legacy_card_limit) {
|
||||
|
||||
Vendored
-3
@@ -23,9 +23,6 @@ function getParameterByName(name) {
|
||||
function update_user_with_card_details(user) {
|
||||
/* Cards with a number lower than this is legacy as of 2015-08 */
|
||||
var legacy_card_limit = 100000000;
|
||||
if(user.cards === '') {
|
||||
return user;
|
||||
}
|
||||
|
||||
for(var j=0; j<user.cards.length; j++) {
|
||||
if(parseInt(user.cards[j].card_number, 10) < legacy_card_limit) {
|
||||
|
||||
Reference in new issue
Block a user