@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |
@@ -67,7 +67,8 @@ |
||
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()); |