diff --git a/lib/sqlite/sqlite.class.php b/lib/sqlite/sqlite.class.php index cb699a82ae..158d3e81e8 100644 --- a/lib/sqlite/sqlite.class.php +++ b/lib/sqlite/sqlite.class.php @@ -42,14 +42,6 @@ class sqlite */ public $dbh = null; - /** - * Magic quote or not. - * - * @var bool - * @access public - */ - public $magicQuote; - /** * __construct * @@ -226,21 +218,4 @@ class sqlite { return $this->dbh->exec($sql); } - - /** - * Quote a var. - * - * @param mixed $value - * @access public - * @return mixed - */ - public function quote($value, $driver = 'mysql') - { - if(is_null($value)) return 'NULL'; - - if($this->magicQuote) $value = stripslashes($value); - - $dbh = $driver == 'sqlite' ? 'dbh' : 'mysql'; - return $this->$dbh->quote((string)$value); - } }