diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-08-06 20:06:32 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-08-06 20:06:32 +0200 |
commit | c5b044b739234c1e1635d4a4647b3440c44f4fa3 (patch) | |
tree | 46da3ed9f3190d39523749f8e301f1e4b3a12be6 /system/database/drivers/sqlite/sqlite_utility.php | |
parent | 88f8d9f4c9d590cc14e71cd77f34e5e2abe57e21 (diff) |
Removed deprecated _drop_database() and _create_database() functions from db utility drivers.
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_utility.php')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_utility.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php index fe63362ee..956d2130f 100644 --- a/system/database/drivers/sqlite/sqlite_utility.php +++ b/system/database/drivers/sqlite/sqlite_utility.php @@ -90,51 +90,6 @@ class CI_DB_sqlite_utility extends CI_DB_utility { // Currently unsupported return $this->db->display_error('db_unsuported_feature'); } - - /** - * - * The functions below have been deprecated as of 1.6, and are only here for backwards - * compatibility. They now reside in dbforge(). The use of dbutils for database manipulation - * is STRONGLY discouraged in favour if using dbforge. - * - */ - - /** - * Create database - * - * @access public - * @param string the database name - * @return bool - */ - function _create_database() - { - // In SQLite, a database is created when you connect to the database. - // We'll return TRUE so that an error isn't generated - return TRUE; - } - - // -------------------------------------------------------------------- - - /** - * Drop database - * - * @access private - * @param string the database name - * @return bool - */ - function _drop_database($name) - { - if ( ! @file_exists($this->db->database) OR ! @unlink($this->db->database)) - { - if ($this->db->db_debug) - { - return $this->db->display_error('db_unable_to_drop'); - } - return FALSE; - } - return TRUE; - } - } /* End of file sqlite_utility.php */ |