Completed
Push — v3.0 ( 3d1631...29f961 )
by Samir
22:25
created
web_interface/astpp/system/database/drivers/mysqli/mysqli_result.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 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
 | -------------------------------------------------------------------
4 6
 | AUTO-LOADER
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/mysqli/mysqli_utility.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 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
 | -------------------------------------------------------------------
4 6
 | AUTO-LOADER
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/oci8/oci8_driver.php 1 patch
Braces   +4 added lines, -3 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
 // ------------------------------------------------------------------------
4 6
 
@@ -59,8 +61,7 @@  discard block
 block discarded – undo
59 61
 		if ($download == "")
60 62
 		{
61 63
 			return $str;	
62
-		}
63
-		else
64
+		} else
64 65
 		{	
65 66
 			echo $str;
66 67
 		}		
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/oci8/oci8_result.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 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
 | -------------------------------------------------------------------
4 6
 | AUTO-LOADER
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/oci8/oci8_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/drivers/oci8/oci8_utility.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 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
 | -------------------------------------------------------------------
4 6
 | AUTO-LOADER
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/odbc/odbc_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/drivers/odbc/odbc_utility.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 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
 | -------------------------------------------------------------------
4 6
 | AUTO-LOADER
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/odbc/odbc_result.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.