Completed
Branch newinternal (ffe884)
by Simon
04:07
created
includes/Exceptions/AccessDeniedException.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,7 @@
 block discarded – undo
8 8
 
9 9
 namespace Waca\Exceptions;
10 10
 
11
-use Waca\DataObjects\Log;
12 11
 use Waca\DataObjects\User;
13
-use Waca\Helpers\LogHelper;
14 12
 use Waca\Helpers\SearchHelpers\LogSearchHelper;
15 13
 use Waca\PdoDatabase;
16 14
 
Please login to merge, or discard this patch.
includes/Pages/PageLog.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
 		$offset = ($page - 1) * $limit;
47 47
 
48 48
 		$logSearch = LogSearchHelper::get($database)->limit($limit, $offset);
49
-		if($filterUser !== null){
49
+		if($filterUser !== null) {
50 50
 			$logSearch->byUser(User::getByUsername($filterUser, $database)->getId());
51 51
 		}
52 52
 
53
-		if($filterAction !== null){
53
+		if($filterAction !== null) {
54 54
 			$logSearch->byAction($filterAction);
55 55
 		}
56 56
 
Please login to merge, or discard this patch.
includes/Security/SecurityConfigurationFactory.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,8 @@
 block discarded – undo
125 125
 	 * @category Security-Critical
126 126
 	 * @return SecurityConfiguration
127 127
 	 */
128
-	public function asNone() {
128
+	public function asNone()
129
+	{
129 130
 		$config = new SecurityConfiguration();
130 131
 
131 132
 		return $config;
Please login to merge, or discard this patch.