Passed
Push — appeals ( bdf92f )
by Simon
05:06
created
includes/Pages/UserAuth/PageUserReactivate.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         // *Only* deactivated users should be able to access this.
37 37
         // Redirect anyone else away.
38
-        if (! $currentUser->isDeactivated()) {
38
+        if (!$currentUser->isDeactivated()) {
39 39
             $this->redirect();
40 40
             return;
41 41
         }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             $reason = WebRequest::postString('reason');
53 53
             $updateVersion = WebRequest::postInt('updateVersion');
54 54
 
55
-            if(!$ableToAppeal) {
55
+            if (!$ableToAppeal) {
56 56
                 throw new ApplicationLogicException('Appeal is disabled');
57 57
             }
58 58
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,8 @@
 block discarded – undo
67 67
 
68 68
             SessionAlert::success('Reactivation request has been saved. Please wait for a response from the tool admin team.');
69 69
             $this->redirect();
70
-        } else {
70
+        }
71
+        else {
71 72
             $this->assignCSRFToken();
72 73
             $this->assign('deactivationReason', $this->getLogEntry('DeactivatedUser', $currentUser, $db));
73 74
             $this->assign('updateVersion', $currentUser->getUpdateVersion());
Please login to merge, or discard this patch.