Completed
Push — master ( d31297...b14507 )
by René
04:36 queued 12s
created
lib/Model/Acl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	public function getGroupShare(): bool {
175 175
 		return count(
176 176
 			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
177
-				if ($item->getType() === 'group' && $this->groupManager->isInGroup($this->getUserId(),$item->getUserId())) {
177
+				if ($item->getType() === 'group' && $this->groupManager->isInGroup($this->getUserId(), $item->getUserId())) {
178 178
 					return true;
179 179
 				}
180 180
 			})
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 	 * @return bool
234 234
 	 */
235 235
 	public function getAllowSeeUsernames(): bool {
236
-		return !(($this->event->getIsAnonymous() && !$this->getIsOwner()) || $this->event->getFullAnonymous());;
236
+		return !(($this->event->getIsAnonymous() && !$this->getIsOwner()) || $this->event->getFullAnonymous()); ;
237 237
 	}
238 238
 
239 239
 	/**
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 			$this->foundByToken = true;
278 278
 			$this->setPollId($share->getPollId());
279 279
 
280
-			if (($share->getType() === 'group' || $share->getType() === 'user')  && !\OC::$server->getUserSession()->isLoggedIn()) {
280
+			if (($share->getType() === 'group' || $share->getType() === 'user') && !\OC::$server->getUserSession()->isLoggedIn()) {
281 281
 				// User must be logged in for shareType user and group
282 282
 				$this->setPollId(0);
283 283
 				$this->setUserId(null);
Please login to merge, or discard this patch.
lib/Controller/NotificationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 			$emailTemplate->addBodyText(str_replace(
290 290
 				['{user}', '{title}'],
291 291
 				[$sender, $event->getTitle()],
292
-				$trans->t('{user} invited you to take part in the poll "{title}"' )
292
+				$trans->t('{user} invited you to take part in the poll "{title}"')
293 293
 			));
294 294
 
295 295
 				$emailTemplate->addBodyButton(
Please login to merge, or discard this patch.