summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-20 15:29:29 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-20 15:29:29 +0100
commit61c4d0a22e63d44bb07d9a3c5f0da030dd5b5ef9 (patch)
treed4fc674b198812cb48cda1e4046ccb604154974a /system
parent16c26ff619d460228066e25ab2bc314925b85760 (diff)
[ci skip] Minor style/spacing changes following PR #2087
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_utility.php18
-rw-r--r--system/database/drivers/mysql/mysql_utility.php4
-rw-r--r--system/database/drivers/mysqli/mysqli_utility.php4
3 files changed, 13 insertions, 13 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index aff3cf8c2..4562b973a 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -320,15 +320,15 @@ abstract class CI_DB_utility {
// Set up our default preferences
$prefs = array(
- 'tables' => array(),
- 'ignore' => array(),
- 'filename' => '',
- 'format' => 'gzip', // gzip, zip, txt
- 'add_drop' => TRUE,
- 'add_insert' => TRUE,
- 'newline' => "\n",
- 'foreign_key_checks' => TRUE
- );
+ 'tables' => array(),
+ 'ignore' => array(),
+ 'filename' => '',
+ 'format' => 'gzip', // gzip, zip, txt
+ 'add_drop' => TRUE,
+ 'add_insert' => TRUE,
+ 'newline' => "\n",
+ 'foreign_key_checks' => TRUE
+ );
// Did the user submit any preferences? If so set them....
if (count($params) > 0)
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index f118033dc..94ef95ae0 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -80,7 +80,7 @@ class CI_DB_mysql_utility extends CI_DB_utility {
// Do we need to include a statement to disable foreign key checks?
if ($foreign_key_checks === FALSE)
{
- $output .= "SET foreign_key_checks = 0;".$newline;
+ $output .= 'SET foreign_key_checks = 0;'.$newline;
}
foreach ( (array) $tables as $table)
@@ -191,7 +191,7 @@ class CI_DB_mysql_utility extends CI_DB_utility {
// Do we need to include a statement to re-enable foreign key checks?
if ($foreign_key_checks === FALSE)
{
- $output .= "SET foreign_key_checks = 1;".$newline;
+ $output .= 'SET foreign_key_checks = 1;'.$newline;
}
return $output;
diff --git a/system/database/drivers/mysqli/mysqli_utility.php b/system/database/drivers/mysqli/mysqli_utility.php
index 2edf38cf5..f6688bcb5 100644
--- a/system/database/drivers/mysqli/mysqli_utility.php
+++ b/system/database/drivers/mysqli/mysqli_utility.php
@@ -80,7 +80,7 @@ class CI_DB_mysqli_utility extends CI_DB_utility {
// Do we need to include a statement to disable foreign key checks?
if ($foreign_key_checks === FALSE)
{
- $output .= "SET foreign_key_checks = 0;".$newline;
+ $output .= 'SET foreign_key_checks = 0;'.$newline;
}
foreach ( (array) $tables as $table)
@@ -191,7 +191,7 @@ class CI_DB_mysqli_utility extends CI_DB_utility {
// Do we need to include a statement to re-enable foreign key checks?
if ($foreign_key_checks === FALSE)
{
- $output .= "SET foreign_key_checks = 1;".$newline;
+ $output .= 'SET foreign_key_checks = 1;'.$newline;
}
return $output;