removing some unused code detected by codacy

This commit is contained in:
El RIDO
2016-07-04 20:46:45 +02:00
parent a856a50bc3
commit 5980f8b603
7 changed files with 3 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ class serversaltTest extends PHPUnit_Framework_TestCase
function mcrypt_create_iv($int, $flag)
{
$randomSalt = '';
for($i = 0; $i < 256; ++$i) {
for($i = 0; $i < $int; ++$i) {
$randomSalt .= base_convert(mt_rand(), 10, 16);
}
// hex2bin requires an even length, pad if necessary