summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r--system/database/drivers/sqlite/sqlite_driver.php10
-rw-r--r--system/database/drivers/sqlite/sqlite_forge.php2
-rw-r--r--system/database/drivers/sqlite/sqlite_utility.php2
3 files changed, 7 insertions, 7 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index 2ad5d6120..70148f360 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -48,7 +48,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function db_connect()
{
- if ( ! $conn_id = @sqlite_open($this->database, FILE_WRITE_MODE, $error))
+ if (! $conn_id = @sqlite_open($this->database, FILE_WRITE_MODE, $error))
{
log_message('error', $error);
@@ -73,7 +73,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function db_pconnect()
{
- if ( ! $conn_id = @sqlite_popen($this->database, FILE_WRITE_MODE, $error))
+ if (! $conn_id = @sqlite_popen($this->database, FILE_WRITE_MODE, $error))
{
log_message('error', $error);
@@ -171,7 +171,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function trans_begin($test_mode = FALSE)
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}
@@ -201,7 +201,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function trans_commit()
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}
@@ -226,7 +226,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function trans_rollback()
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}
diff --git a/system/database/drivers/sqlite/sqlite_forge.php b/system/database/drivers/sqlite/sqlite_forge.php
index 1fd2a2bd4..44950bfc7 100644
--- a/system/database/drivers/sqlite/sqlite_forge.php
+++ b/system/database/drivers/sqlite/sqlite_forge.php
@@ -49,7 +49,7 @@ class CI_DB_sqlite_forge extends CI_DB_forge {
*/
function _drop_database($name)
{
- if ( ! @file_exists($this->db->database) OR ! @unlink($this->db->database))
+ if (! @file_exists($this->db->database) OR ! @unlink($this->db->database))
{
if ($this->db->db_debug)
{
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php
index d1e1fe026..ab58f8fd7 100644
--- a/system/database/drivers/sqlite/sqlite_utility.php
+++ b/system/database/drivers/sqlite/sqlite_utility.php
@@ -124,7 +124,7 @@ class CI_DB_sqlite_utility extends CI_DB_utility {
*/
function _drop_database($name)
{
- if ( ! @file_exists($this->db->database) OR ! @unlink($this->db->database))
+ if (! @file_exists($this->db->database) OR ! @unlink($this->db->database))
{
if ($this->db->db_debug)
{