@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * @return Boolean |
| 133 | 133 | */ |
| 134 | 134 | private function checkUserAccess($accessList) { |
| 135 | - foreach ($accessList as $accessItem ) { |
|
| 135 | + foreach ($accessList as $accessItem) { |
|
| 136 | 136 | if ($accessItem['type'] === 'user' && $accessItem['id'] === \OC::$server->getUserSession()->getUser()->getUID()) { |
| 137 | 137 | return true; |
| 138 | 138 | } |
@@ -146,8 +146,8 @@ discard block |
||
| 146 | 146 | * @return Boolean |
| 147 | 147 | */ |
| 148 | 148 | private function checkGroupAccess($accessList) { |
| 149 | - foreach ($accessList as $accessItem ) { |
|
| 150 | - if ($accessItem['type'] === 'group' && $this->groupManager->isInGroup(\OC::$server->getUserSession()->getUser()->getUID(),$accessItem['id'])) { |
|
| 149 | + foreach ($accessList as $accessItem) { |
|
| 150 | + if ($accessItem['type'] === 'group' && $this->groupManager->isInGroup(\OC::$server->getUserSession()->getUser()->getUID(), $accessItem['id'])) { |
|
| 151 | 151 | return true; |
| 152 | 152 | } |
| 153 | 153 | } |
@@ -234,7 +234,7 @@ |
||
| 234 | 234 | // look what user voted for this dts |
| 235 | 235 | foreach ($others[$usr] as $vote) { |
| 236 | 236 | if ($optionElement->getPollOptionText() === $vote->getVoteOptionText()) { |
| 237 | - $class = $vote->getVoteAnswer() . ' icon-'.$vote->getVoteAnswer(); |
|
| 237 | + $class = $vote->getVoteAnswer() . ' icon-' . $vote->getVoteAnswer(); |
|
| 238 | 238 | break; |
| 239 | 239 | } |
| 240 | 240 | $class = 'no icon-no'; |