mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 13:38:41 +00:00
Removing unnecessary code
This commit is contained in:
parent
5f98dbea94
commit
c33334a0f8
|
|
@ -114,13 +114,7 @@ abstract class Iban extends ValidatorAbstract
|
||||||
$new .= $movedArray[$key];
|
$new .= $movedArray[$key];
|
||||||
}
|
}
|
||||||
|
|
||||||
$mod = bcmod($new, '97');
|
return bcmod($new, '97') == 1;
|
||||||
|
|
||||||
if ($mod != 1) {
|
|
||||||
self::$error = IbanErrorType::INVALID_CHECKSUM;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $mod == 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user