Completed
Push — develop ( de7659...415144 )
by Daniel
09:44
created
services/poll.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 		if (is_array($message))
42 42
 		{
43 43
 			$this->message = (string) $message[0];
44
-		}
45
-		else
44
+		} else
46 45
 		{
47 46
 			$this->message = $message;
48 47
 		}
Please login to merge, or discard this patch.
services/forum/data.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -232,8 +232,7 @@  discard block
 block discarded – undo
232 232
 		if (sizeof($post_ids))
233 233
 		{
234 234
 			$sql_where[] = $this->db->sql_in_set('p.post_id', $post_ids);
235
-		}
236
-		else if (sizeof($this->store['topic']))
235
+		} else if (sizeof($this->store['topic']))
237 236
 		{
238 237
 			$this->_limit_posts_by_topic($sql_where, $topic_first_or_last_post);
239 238
 		}
@@ -266,8 +265,7 @@  discard block
 block discarded – undo
266 265
 		if ($this->_can_track_by_lastread())
267 266
 		{
268 267
 			$info = $this->_build_tracking_info('get_topic_tracking');
269
-		}
270
-		else if ($this->_can_track_anonymous())
268
+		} else if ($this->_can_track_anonymous())
271 269
 		{
272 270
 			$info = $this->_build_tracking_info('get_complete_topic_tracking');
273 271
 		}
@@ -401,8 +399,7 @@  discard block
 block discarded – undo
401 399
 				'rank_image'		=> $user_rank_data['img'],
402 400
 				'rank_image_src'	=> $user_rank_data['img_src'],
403 401
 			);
404
-		}
405
-		else
402
+		} else
406 403
 		{
407 404
 			return array(
408 405
 				'rank_title'		=> '',
Please login to merge, or discard this patch.
services/menus/display.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 		if (is_array($message))
42 42
 		{
43 43
 			$this->message = (string) $message[0];
44
-		}
45
-		else
44
+		} else
46 45
 		{
47 46
 			$this->message = $message;
48 47
 		}
Please login to merge, or discard this patch.
model/base_mapper.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -336,8 +336,7 @@  discard block
 block discarded – undo
336 336
 		if ($this->settings['display_preview'])
337 337
 		{
338 338
 			$post_data = $this->forum->get_post_data($this->settings['display_preview']);
339
-		}
340
-		else
339
+		} else
341 340
 		{
342 341
 			$post_data = array_fill_keys(array_keys($topic_data), array(array('post_text' => '', 'bbcode_uid' => '', 'bbcode_bitfield' => '')));
343 342
 		}
@@ -360,8 +359,7 @@  discard block
 block discarded – undo
360 359
 				$this->fields['user_colour'] = 'topic_last_poster_colour';
361 360
 
362 361
 				$this->ptemplate->assign_var('L_POST_BY_AUTHOR', $this->user->lang('LAST_POST_BY_AUTHOR'));
363
-			}
364
-			else
362
+			} else
365 363
 			{
366 364
 				$this->fields['time'] = 'topic_time';
367 365
 				$this->fields['user_id'] = 'topic_poster';
Please login to merge, or discard this patch.