diff --git a/lib/Model/Comment.php b/lib/Model/Comment.php index 7ea08e5..44d346f 100644 --- a/lib/Model/Comment.php +++ b/lib/Model/Comment.php @@ -10,7 +10,7 @@ * @version 0.22 */ -namespace PrivateBin\model; +namespace PrivateBin\Model; use PrivateBin\Sjcl; use PrivateBin\Persistence\TrafficLimiter; diff --git a/lib/Persistence/ServerSalt.php b/lib/Persistence/ServerSalt.php index a8a6614..2f7d9bb 100644 --- a/lib/Persistence/ServerSalt.php +++ b/lib/Persistence/ServerSalt.php @@ -49,7 +49,6 @@ class ServerSalt extends AbstractPersistence $randomSalt = bin2hex(mcrypt_create_iv(256, MCRYPT_DEV_URANDOM)); } else { // fallback to mt_rand() - for ($i = 0; $i < 256; ++$i) { $randomSalt .= base_convert(mt_rand(), 10, 16); }