Completed
Push — v3.0 ( 23635d...e28df5 )
by Samir
23s
created
web_interface/astpp/system/database/drivers/sqlite/sqlite_driver.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -471,8 +473,7 @@  discard block
 block discarded – undo
471 473
 		if (strpos($item, '.') !== FALSE)
472 474
 		{
473 475
 			$str = $this->_escape_char.str_replace('.', $this->_escape_char.'.'.$this->_escape_char, $item).$this->_escape_char;
474
-		}
475
-		else
476
+		} else
476 477
 		{
477 478
 			$str = $this->_escape_char.$item.$this->_escape_char;
478 479
 		}
@@ -627,8 +628,7 @@  discard block
 block discarded – undo
627 628
 		if ($offset == 0)
628 629
 		{
629 630
 			$offset = '';
630
-		}
631
-		else
631
+		} else
632 632
 		{
633 633
 			$offset .= ", ";
634 634
 		}
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/sqlsrv/sqlsrv_driver.php 1 patch
Braces   +9 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -335,13 +337,15 @@  discard block
 block discarded – undo
335 337
 	 */
336 338
 	function count_all($table = '')
337 339
 	{
338
-		if ($table == '')
339
-			return '0';
340
+		if ($table == '') {
341
+					return '0';
342
+		}
340 343
 	
341 344
 		$query = $this->query("SELECT COUNT(*) AS numrows FROM " . $this->dbprefix . $table);
342 345
 		
343
-		if ($query->num_rows() == 0)
344
-			return '0';
346
+		if ($query->num_rows() == 0) {
347
+					return '0';
348
+		}
345 349
 
346 350
 		$row = $query->row();
347 351
 		$this->_reset_select();
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/sqlsrv/sqlsrv_forge.php 1 patch
Braces   +7 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -96,8 +98,7 @@  discard block
 block discarded – undo
96 98
 			if (is_numeric($field))
97 99
 			{
98 100
 				$sql .= "\n\t$attributes";
99
-			}
100
-			else
101
+			} else
101 102
 			{
102 103
 				$attributes = array_change_key_case($attributes, CASE_UPPER);
103 104
 
@@ -123,8 +124,7 @@  discard block
 block discarded – undo
123 124
 				if (array_key_exists('NULL', $attributes) && $attributes['NULL'] === TRUE)
124 125
 				{
125 126
 					$sql .= ' NULL';
126
-				}
127
-				else
127
+				} else
128 128
 				{
129 129
 					$sql .= ' NOT NULL';
130 130
 				}
@@ -155,8 +155,7 @@  discard block
 block discarded – undo
155 155
 				if (is_array($key))
156 156
 				{
157 157
 					$key = $this->db->_protect_identifiers($key);
158
-				}
159
-				else
158
+				} else
160 159
 				{
161 160
 					$key = array($this->db->_protect_identifiers($key));
162 161
 				}
@@ -208,8 +207,7 @@  discard block
 block discarded – undo
208 207
 		if ($null === NULL)
209 208
 		{
210 209
 			$sql .= ' NULL';
211
-		}
212
-		else
210
+		} else
213 211
 		{
214 212
 			$sql .= ' NOT NULL';
215 213
 		}
Please login to merge, or discard this patch.
web_interface/astpp/system/database/DB.php 1 patch
Braces   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -56,8 +58,7 @@  discard block
 block discarded – undo
56 58
 		}
57 59
 
58 60
 		$params = $db[$active_group];
59
-	}
60
-	elseif (is_string($params))
61
+	} elseif (is_string($params))
61 62
 	{
62 63
 
63 64
 		/* parse the URL from the DSN string
@@ -91,8 +92,7 @@  discard block
 block discarded – undo
91 92
 				if (strtoupper($val) == "TRUE")
92 93
 				{
93 94
 					$val = TRUE;
94
-				}
95
-				elseif (strtoupper($val) == "FALSE")
95
+				} elseif (strtoupper($val) == "FALSE")
96 96
 				{
97 97
 					$val = FALSE;
98 98
 				}
@@ -128,8 +128,7 @@  discard block
 block discarded – undo
128 128
 		{
129 129
 			eval('class CI_DB extends CI_DB_active_record { }');
130 130
 		}
131
-	}
132
-	else
131
+	} else
133 132
 	{
134 133
 		if ( ! class_exists('CI_DB'))
135 134
 		{
Please login to merge, or discard this patch.
web_interface/astpp/system/database/DB_driver.php 1 patch
Braces   +12 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -140,8 +142,7 @@  discard block
 block discarded – undo
140 142
 					$this->display_error('db_unable_to_select', $this->database);
141 143
 				}
142 144
 				return FALSE;
143
-			}
144
-			else
145
+			} else
145 146
 			{
146 147
 				// We've selected the DB. Now we set the character set
147 148
 				if ( ! $this->db_set_charset($this->char_set, $this->dbcollat))
@@ -223,8 +224,7 @@  discard block
 block discarded – undo
223 224
 		if (in_array($this->dbdriver, $driver_version_exceptions))
224 225
 		{
225 226
 			return $sql;
226
-		}
227
-		else
227
+		} else
228 228
 		{
229 229
 			$query = $this->query($sql);
230 230
 			return $query->row('ver');
@@ -683,12 +683,10 @@  discard block
 block discarded – undo
683 683
 		if (is_string($str))
684 684
 		{
685 685
 			$str = "'".$this->escape_str($str)."'";
686
-		}
687
-		elseif (is_bool($str))
686
+		} elseif (is_bool($str))
688 687
 		{
689 688
 			$str = ($str === FALSE) ? 0 : 1;
690
-		}
691
-		elseif (is_null($str))
689
+		} elseif (is_null($str))
692 690
 		{
693 691
 			$str = 'NULL';
694 692
 		}
@@ -772,8 +770,7 @@  discard block
 block discarded – undo
772 770
 				if (isset($row['TABLE_NAME']))
773 771
 				{
774 772
 					$retval[] = $row['TABLE_NAME'];
775
-				}
776
-				else
773
+				} else
777 774
 				{
778 775
 					$retval[] = array_shift($row);
779 776
 				}
@@ -839,8 +836,7 @@  discard block
 block discarded – undo
839 836
 			if (isset($row['COLUMN_NAME']))
840 837
 			{
841 838
 				$retval[] = $row['COLUMN_NAME'];
842
-			}
843
-			else
839
+			} else
844 840
 			{
845 841
 				$retval[] = current($row);
846 842
 			}
@@ -940,8 +936,7 @@  discard block
 block discarded – undo
940 936
 		if ( ! is_array($where))
941 937
 		{
942 938
 			$dest = array($where);
943
-		}
944
-		else
939
+		} else
945 940
 		{
946 941
 			$dest = array();
947 942
 			foreach ($where as $key => $val)
@@ -1011,8 +1006,7 @@  discard block
 block discarded – undo
1011 1006
 				return $this->display_error('db_unsupported_function');
1012 1007
 			}
1013 1008
 			return FALSE;
1014
-		}
1015
-		else
1009
+		} else
1016 1010
 		{
1017 1011
 			$args = (func_num_args() > 1) ? array_splice(func_get_args(), 1) : null;
1018 1012
 
@@ -1163,8 +1157,7 @@  discard block
 block discarded – undo
1163 1157
 		if ($native == TRUE)
1164 1158
 		{
1165 1159
 			$message = $error;
1166
-		}
1167
-		else
1160
+		} else
1168 1161
 		{
1169 1162
 			$message = ( ! is_array($error)) ? array(str_replace('%s', $swap, $LANG->line($error))) : $error;
1170 1163
 		}
Please login to merge, or discard this patch.
web_interface/astpp/system/database/DB_forge.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * Code Igniter
4 6
  *
@@ -115,8 +117,7 @@  discard block
 block discarded – undo
115 117
 		if ($primary === TRUE)
116 118
 		{
117 119
 			$this->primary_keys[] = $key;
118
-		}
119
-		else
120
+		} else
120 121
 		{
121 122
 			$this->keys[] = $key;
122 123
 		}
@@ -150,8 +151,7 @@  discard block
 block discarded – undo
150 151
 													)
151 152
 								));
152 153
 				$this->add_key('id', TRUE);
153
-			}
154
-			else
154
+			} else
155 155
 			{
156 156
 				if (strpos($field, ' ') === FALSE)
157 157
 				{
Please login to merge, or discard this patch.
web_interface/astpp/system/database/DB_result.php 1 patch
Braces   +17 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -47,9 +49,13 @@  discard block
 block discarded – undo
47 49
 	 */
48 50
 	public function result($type = 'object')
49 51
 	{
50
-		if ($type == 'array') return $this->result_array();
51
-		else if ($type == 'object') return $this->result_object();
52
-		else return $this->custom_result_object($type);
52
+		if ($type == 'array') {
53
+			return $this->result_array();
54
+		} else if ($type == 'object') {
55
+			return $this->result_object();
56
+		} else {
57
+			return $this->custom_result_object($type);
58
+		}
53 59
 	}
54 60
 
55 61
 	// --------------------------------------------------------------------
@@ -185,9 +191,13 @@  discard block
 block discarded – undo
185 191
 			$n = 0;
186 192
 		}
187 193
 
188
-		if ($type == 'object') return $this->row_object($n);
189
-		else if ($type == 'array') return $this->row_array($n);
190
-		else return $this->custom_row_object($n, $type);
194
+		if ($type == 'object') {
195
+			return $this->row_object($n);
196
+		} else if ($type == 'array') {
197
+			return $this->row_array($n);
198
+		} else {
199
+			return $this->custom_row_object($n, $type);
200
+		}
191 201
 	}
192 202
 
193 203
 	// --------------------------------------------------------------------
Please login to merge, or discard this patch.
web_interface/astpp/system/database/DB_active_rec.php 1 patch
Braces   +23 added lines, -37 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -273,8 +275,7 @@  discard block
 block discarded – undo
273 275
 					}
274 276
 				}
275 277
 
276
-			}
277
-			else
278
+			} else
278 279
 			{
279 280
 				$val = trim($val);
280 281
 
@@ -316,8 +317,7 @@  discard block
 block discarded – undo
316 317
 			if ( ! in_array($type, array('LEFT', 'RIGHT', 'OUTER', 'INNER', 'LEFT OUTER', 'RIGHT OUTER')))
317 318
 			{
318 319
 				$type = '';
319
-			}
320
-			else
320
+			} else
321 321
 			{
322 322
 				$type .= ' ';
323 323
 			}
@@ -431,8 +431,7 @@  discard block
 block discarded – undo
431 431
 				{
432 432
 					$k .= ' = ';
433 433
 				}
434
-			}
435
-			else
434
+			} else
436 435
 			{
437 436
 				$k = $this->_protect_identifiers($k, FALSE, $escape);
438 437
 			}
@@ -665,12 +664,10 @@  discard block
 block discarded – undo
665 664
 			if ($side == 'before')
666 665
 			{
667 666
 				$like_statement = $prefix." $k $not LIKE '%{$v}'";
668
-			}
669
-			elseif ($side == 'after')
667
+			} elseif ($side == 'after')
670 668
 			{
671 669
 				$like_statement = $prefix." $k $not LIKE '{$v}%'";
672
-			}
673
-			else
670
+			} else
674 671
 			{
675 672
 				$like_statement = $prefix." $k $not LIKE '%{$v}%'";
676 673
 			}
@@ -820,8 +817,7 @@  discard block
 block discarded – undo
820 817
 		{
821 818
 			$orderby = ''; // Random results want or don't need a field name
822 819
 			$direction = $this->_random_keyword;
823
-		}
824
-		elseif (trim($direction) != '')
820
+		} elseif (trim($direction) != '')
825 821
 		{
826 822
 			$direction = (in_array(strtoupper(trim($direction)), array('ASC', 'DESC'), TRUE)) ? ' '.$direction : ' ASC';
827 823
 		}
@@ -842,8 +838,7 @@  discard block
 block discarded – undo
842 838
 			}
843 839
 
844 840
 			$orderby = implode(', ', $temp);
845
-		}
846
-		else if ($direction != $this->_random_keyword)
841
+		} else if ($direction != $this->_random_keyword)
847 842
 		{
848 843
 			$orderby = $this->_protect_identifiers($orderby);
849 844
 		}
@@ -919,8 +914,7 @@  discard block
 block discarded – undo
919 914
 			if ($escape === FALSE)
920 915
 			{
921 916
 				$this->ar_set[$this->_protect_identifiers($k)] = $v;
922
-			}
923
-			else
917
+			} else
924 918
 			{
925 919
 				$this->ar_set[$this->_protect_identifiers($k, FALSE, TRUE)] = $this->escape($v);
926 920
 			}
@@ -1124,8 +1118,7 @@  discard block
 block discarded – undo
1124 1118
 			if ($escape === FALSE)
1125 1119
 			{
1126 1120
 				$this->ar_set[] =  '('.implode(',', $row).')';
1127
-			}
1128
-			else
1121
+			} else
1129 1122
 			{
1130 1123
 				$clean = array();
1131 1124
 
@@ -1398,8 +1391,7 @@  discard block
 block discarded – undo
1398 1391
 				if ($k2 == $index)
1399 1392
 				{
1400 1393
 					$index_set = TRUE;
1401
-				}
1402
-				else
1394
+				} else
1403 1395
 				{
1404 1396
 					$not[] = $k.'-'.$v;
1405 1397
 				}
@@ -1407,8 +1399,7 @@  discard block
 block discarded – undo
1407 1399
 				if ($escape === FALSE)
1408 1400
 				{
1409 1401
 					$clean[$this->_protect_identifiers($k2)] = $v2;
1410
-				}
1411
-				else
1402
+				} else
1412 1403
 				{
1413 1404
 					$clean[$this->_protect_identifiers($k2)] = $this->escape($v2);
1414 1405
 				}
@@ -1449,8 +1440,7 @@  discard block
 block discarded – undo
1449 1440
 			}
1450 1441
 
1451 1442
 			$table = $this->ar_from[0];
1452
-		}
1453
-		else
1443
+		} else
1454 1444
 		{
1455 1445
 			$table = $this->_protect_identifiers($table, TRUE, NULL, FALSE);
1456 1446
 		}
@@ -1488,8 +1478,7 @@  discard block
 block discarded – undo
1488 1478
 			}
1489 1479
 
1490 1480
 			$table = $this->ar_from[0];
1491
-		}
1492
-		else
1481
+		} else
1493 1482
 		{
1494 1483
 			$table = $this->_protect_identifiers($table, TRUE, NULL, FALSE);
1495 1484
 		}
@@ -1531,8 +1520,7 @@  discard block
 block discarded – undo
1531 1520
 			}
1532 1521
 
1533 1522
 			$table = $this->ar_from[0];
1534
-		}
1535
-		elseif (is_array($table))
1523
+		} elseif (is_array($table))
1536 1524
 		{
1537 1525
 			foreach ($table as $single_table)
1538 1526
 			{
@@ -1541,8 +1529,7 @@  discard block
 block discarded – undo
1541 1529
 
1542 1530
 			$this->_reset_write();
1543 1531
 			return;
1544
-		}
1545
-		else
1532
+		} else
1546 1533
 		{
1547 1534
 			$table = $this->_protect_identifiers($table, TRUE, NULL, FALSE);
1548 1535
 		}
@@ -1679,16 +1666,14 @@  discard block
 block discarded – undo
1679 1666
 		if ($select_override !== FALSE)
1680 1667
 		{
1681 1668
 			$sql = $select_override;
1682
-		}
1683
-		else
1669
+		} else
1684 1670
 		{
1685 1671
 			$sql = ( ! $this->ar_distinct) ? 'SELECT ' : 'SELECT DISTINCT ';
1686 1672
 
1687 1673
 			if (count($this->ar_select) == 0)
1688 1674
 			{
1689 1675
 				$sql .= '*';
1690
-			}
1691
-			else
1676
+			} else
1692 1677
 			{
1693 1678
 				// Cycle through the "select" portion of the query and prep each column name.
1694 1679
 				// The reason we protect identifiers here rather then in the select() function
@@ -2143,8 +2128,9 @@  discard block
 block discarded – undo
2143 2128
           */
2144 2129
          function _insert_on_duplicate_update_batch($table, $keys, $values)
2145 2130
          {
2146
-                  foreach($keys as $key)
2147
-                  $update_fields[] = $key.'=VALUES('.$key.')';
2131
+                  foreach($keys as $key) {
2132
+                                    $update_fields[] = $key.'=VALUES('.$key.')';
2133
+                  }
2148 2134
            
2149 2135
                   return "INSERT INTO ".$table." (".implode(', ', $keys).") VALUES ".implode(', ', $values)." ON DUPLICATE KEY UPDATE ".implode(', ', $update_fields);
2150 2136
          } 
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/file_helper.php 1 patch
Braces   +18 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
1
+<?php  if ( ! defined('BASEPATH')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * CodeIgniter
4 6
  *
@@ -139,8 +141,7 @@  discard block
 block discarded – undo
139 141
 					{
140 142
 						delete_files($path.DIRECTORY_SEPARATOR.$filename, $del_dir, $level + 1);
141 143
 					}
142
-				}
143
-				else
144
+				} else
144 145
 				{
145 146
 					unlink($path.DIRECTORY_SEPARATOR.$filename);
146 147
 				}
@@ -191,15 +192,13 @@  discard block
 block discarded – undo
191 192
 				if (@is_dir($source_dir.$file) && strncmp($file, '.', 1) !== 0)
192 193
 				{
193 194
 					get_filenames($source_dir.$file.DIRECTORY_SEPARATOR, $include_path, TRUE);
194
-				}
195
-				elseif (strncmp($file, '.', 1) !== 0)
195
+				} elseif (strncmp($file, '.', 1) !== 0)
196 196
 				{
197 197
 					$_filedata[] = ($include_path == TRUE) ? $source_dir.$file : $file;
198 198
 				}
199 199
 			}
200 200
 			return $_filedata;
201
-		}
202
-		else
201
+		} else
203 202
 		{
204 203
 			return FALSE;
205 204
 		}
@@ -244,8 +243,7 @@  discard block
 block discarded – undo
244 243
 				if (@is_dir($source_dir.$file) AND strncmp($file, '.', 1) !== 0 AND $top_level_only === FALSE)
245 244
 				{
246 245
 					get_dir_file_info($source_dir.$file.DIRECTORY_SEPARATOR, $top_level_only, TRUE);
247
-				}
248
-				elseif (strncmp($file, '.', 1) !== 0)
246
+				} elseif (strncmp($file, '.', 1) !== 0)
249 247
 				{
250 248
 					$_filedata[$file] = get_file_info($source_dir.$file);
251 249
 					$_filedata[$file]['relative_path'] = $relative_path;
@@ -253,8 +251,7 @@  discard block
 block discarded – undo
253 251
 			}
254 252
 
255 253
 			return $_filedata;
256
-		}
257
-		else
254
+		} else
258 255
 		{
259 256
 			return FALSE;
260 257
 		}
@@ -355,8 +352,7 @@  discard block
 block discarded – undo
355 352
 			if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes.php'))
356 353
 			{
357 354
 				include(APPPATH.'config/'.ENVIRONMENT.'/mimes.php');
358
-			}
359
-			elseif (is_file(APPPATH.'config/mimes.php'))
355
+			} elseif (is_file(APPPATH.'config/mimes.php'))
360 356
 			{
361 357
 				include(APPPATH.'config/mimes.php');
362 358
 			}
@@ -373,13 +369,11 @@  discard block
 block discarded – undo
373 369
 			{
374 370
 				// Multiple mime types, just give the first one
375 371
 				return current($mimes[$extension]);
376
-			}
377
-			else
372
+			} else
378 373
 			{
379 374
 				return $mimes[$extension];
380 375
 			}
381
-		}
382
-		else
376
+		} else
383 377
 		{
384 378
 			return FALSE;
385 379
 		}
@@ -405,32 +399,25 @@  discard block
 block discarded – undo
405 399
 		if (($perms & 0xC000) == 0xC000)
406 400
 		{
407 401
 			$symbolic = 's'; // Socket
408
-		}
409
-		elseif (($perms & 0xA000) == 0xA000)
402
+		} elseif (($perms & 0xA000) == 0xA000)
410 403
 		{
411 404
 			$symbolic = 'l'; // Symbolic Link
412
-		}
413
-		elseif (($perms & 0x8000) == 0x8000)
405
+		} elseif (($perms & 0x8000) == 0x8000)
414 406
 		{
415 407
 			$symbolic = '-'; // Regular
416
-		}
417
-		elseif (($perms & 0x6000) == 0x6000)
408
+		} elseif (($perms & 0x6000) == 0x6000)
418 409
 		{
419 410
 			$symbolic = 'b'; // Block special
420
-		}
421
-		elseif (($perms & 0x4000) == 0x4000)
411
+		} elseif (($perms & 0x4000) == 0x4000)
422 412
 		{
423 413
 			$symbolic = 'd'; // Directory
424
-		}
425
-		elseif (($perms & 0x2000) == 0x2000)
414
+		} elseif (($perms & 0x2000) == 0x2000)
426 415
 		{
427 416
 			$symbolic = 'c'; // Character special
428
-		}
429
-		elseif (($perms & 0x1000) == 0x1000)
417
+		} elseif (($perms & 0x1000) == 0x1000)
430 418
 		{
431 419
 			$symbolic = 'p'; // FIFO pipe
432
-		}
433
-		else
420
+		} else
434 421
 		{
435 422
 			$symbolic = 'u'; // Unknown
436 423
 		}
Please login to merge, or discard this patch.