From f640de4e81a3c26ca5599d295a01461aa5ea39e1 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 7 Feb 2014 14:16:39 -0500 Subject: [PATCH] Remove a few undocumented database-specific methods --- drivers/sqlite/sqlite_driver.php | 34 +------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/drivers/sqlite/sqlite_driver.php b/drivers/sqlite/sqlite_driver.php index 3723680..34a7c86 100644 --- a/drivers/sqlite/sqlite_driver.php +++ b/drivers/sqlite/sqlite_driver.php @@ -88,38 +88,6 @@ class SQLite extends DB_PDO { // that is of any importance. return array('sqlite_master'); } - - // -------------------------------------------------------------------------- - - /** - * Load a database for the current connection - * - * @param string $db - * @param string $name - */ - public function load_database($db, $name) - { - $sql = 'ATTACH DATABASE "'.$db.'" AS "'.$name.'"'; - $this->query($sql); - } - - // -------------------------------------------------------------------------- - - /** - * Unload a database from the current connection - * - * @param string $name - */ - public function unload_database($name) - { - $sql = 'DETACH DATABASE ":name"'; - - $this->prepare_query($sql, array( - ':name' => $name, - )); - - $this->statement->execute(); - } // -------------------------------------------------------------------------- @@ -136,4 +104,4 @@ class SQLite extends DB_PDO { return NULL; } } -//End of sqlite_driver.php +//End of sqlite_driver.php \ No newline at end of file