Completed
Pull Request — master (#794)
by René
04:20
created
lib/Model/Acl.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,9 +119,9 @@
 block discarded – undo
119 119
 	}
120 120
 
121 121
 	/**
122
-	* @NoAdminRequired
123
-	* @return string
124
-	*/
122
+	 * @NoAdminRequired
123
+	 * @return string
124
+	 */
125 125
 	public function getLoggedIn() {
126 126
 		return \OC::$server->getUserSession()->isLoggedIn();
127 127
 	}
Please login to merge, or discard this patch.
lib/Controller/CommentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
 		}
220 220
 
221 221
 		try {
222
-			if ( $comment['userId'] === $this->acl->getUserId() ) {
222
+			if ($comment['userId'] === $this->acl->getUserId()) {
223 223
 					$comment = $this->mapper->find($comment['id']);
224 224
 					$comment = $this->mapper->delete($comment);
225 225
 			}
Please login to merge, or discard this patch.
lib/Controller/PollController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
 				foreach ($polls as $poll) {
125 125
 					$combinedPoll = (object) array_merge(
126
-        				(array) json_decode(json_encode($poll)), (array) json_decode(json_encode($this->acl->setPollId($poll->getId()))));
126
+						(array) json_decode(json_encode($poll)), (array) json_decode(json_encode($this->acl->setPollId($poll->getId()))));
127 127
 					if ($combinedPoll->allowView) {
128 128
 						$pollList[] = $combinedPoll;
129 129
 					}
Please login to merge, or discard this patch.