From 747369185b4d1f013224ab00ef3902a01a102f1c Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 30 Dec 2006 00:30:28 +0000 Subject: [PATCH] --- lib/Doctrine/Import/Sqlite.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/Doctrine/Import/Sqlite.php b/lib/Doctrine/Import/Sqlite.php index a98b1f15f..dcb708b3e 100644 --- a/lib/Doctrine/Import/Sqlite.php +++ b/lib/Doctrine/Import/Sqlite.php @@ -67,11 +67,6 @@ class Doctrine_Import_Sqlite extends Doctrine_Import */ public function listSequences($database = null) { - $db =& $this->getDBInstance(); - if (PEAR::isError($db)) { - return $db; - } - $query = "SELECT name FROM sqlite_master WHERE type='table' AND sql NOT NULL ORDER BY name"; $table_names = $db->queryCol($query); if (PEAR::isError($table_names)) { @@ -96,11 +91,6 @@ class Doctrine_Import_Sqlite extends Doctrine_Import */ public function listTableConstraints($table) { - $db =& $this->getDBInstance(); - if (PEAR::isError($db)) { - return $db; - } - $table = $db->quote($table, 'text'); $query = "SELECT sql FROM sqlite_master WHERE type='index' AND "; if ($db->options['portability'] & MDB2_PORTABILITY_FIX_CASE) {