From 1ef28d7a5ca7bc65061f8178a36be07b57567dd3 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 10 Aug 2016 15:03:06 +0200 Subject: [PATCH] minor fixes, typos --- lib/Model/Comment.php | 2 +- lib/Persistence/ServerSalt.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); }