@@ -117,13 +117,13 @@ |
||
117 | 117 | $countOfJobQueue = 0; |
118 | 118 | |
119 | 119 | // Count of flagged comments: |
120 | - if($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageListFlaggedComments::class)) { |
|
120 | + if ($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageListFlaggedComments::class)) { |
|
121 | 121 | // We want all flagged comments that haven't been acknowledged if we can visit the page. |
122 | 122 | $countOfFlagged = sizeof(Comment::getFlaggedComments($database, 1)); // FIXME: domains |
123 | 123 | } |
124 | 124 | |
125 | 125 | // Count of failed job queue changes: |
126 | - if($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageJobQueue::class)) { |
|
126 | + if ($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageJobQueue::class)) { |
|
127 | 127 | // We want all failed jobs that haven't been acknowledged if we can visit the page. |
128 | 128 | JobQueueSearchHelper::get($database, 1) // FIXME: domains |
129 | 129 | ->statusIn([JobQueue::STATUS_FAILED]) |
@@ -44,7 +44,7 @@ |
||
44 | 44 | try { |
45 | 45 | $this->getDomainAccessManager()->switchDomain($currentUser, $newDomain); |
46 | 46 | } |
47 | - catch(DomainSwitchNotAllowedException $ex){ |
|
47 | + catch (DomainSwitchNotAllowedException $ex) { |
|
48 | 48 | throw new AccessDeniedException($this->getSecurityManager(), $this->getDomainAccessManager()); |
49 | 49 | } |
50 | 50 |