diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 06:22:33 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 06:22:33 +0200 |
commit | 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 (patch) | |
tree | 1e7655eabd76bb981692f5d4f21cb1fc7be3e9cd /system/database/drivers/sqlite/sqlite_utility.php | |
parent | 5cf664748ee295867f593d7eb7991bd35fe8eca6 (diff) |
Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_utility.php')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_utility.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php index c85e36575..fff24a715 100644 --- a/system/database/drivers/sqlite/sqlite_utility.php +++ b/system/database/drivers/sqlite/sqlite_utility.php @@ -1,4 +1,4 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -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)
{
@@ -136,6 +136,6 @@ class CI_DB_sqlite_utility extends CI_DB_utility { }
}
- -/* End of file sqlite_utility.php */ +
+/* End of file sqlite_utility.php */
/* Location: ./system/database/drivers/sqlite/sqlite_utility.php */
\ No newline at end of file |