@@ -85,7 +85,7 @@ |
||
| 85 | 85 | // Create a task. |
| 86 | 86 | $taskName = $job->getTask(); |
| 87 | 87 | |
| 88 | - if(!class_exists($taskName)) { |
|
| 88 | + if (!class_exists($taskName)) { |
|
| 89 | 89 | throw new ApplicationLogicException('Job task does not exist'); |
| 90 | 90 | } |
| 91 | 91 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $users = UserSearchHelper::get($database)->inIds( |
| 22 | 22 | $database->query('SELECT user FROM oauthtoken WHERE type = \'access\'')->fetchColumn()); |
| 23 | 23 | |
| 24 | - foreach ($users as $u){ |
|
| 24 | + foreach ($users as $u) { |
|
| 25 | 25 | $oauth = new OAuthUserHelper($u, $database, $this->getOAuthProtocolHelper(), $this->getSiteConfiguration()); |
| 26 | 26 | $oauth->detach(); |
| 27 | 27 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $currentUser = User::getCurrent($database); |
| 55 | 55 | $this->assign('currentUser', $currentUser); |
| 56 | 56 | |
| 57 | - if($this->securityManager !== null) { |
|
| 57 | + if ($this->securityManager !== null) { |
|
| 58 | 58 | $this->setupNavMenuAccess($currentUser); |
| 59 | 59 | } |
| 60 | 60 | |