diff --git a/lib/sqlite/sqlite.class.php b/lib/sqlite/sqlite.class.php index 158d3e81e8..94983f175e 100644 --- a/lib/sqlite/sqlite.class.php +++ b/lib/sqlite/sqlite.class.php @@ -54,7 +54,6 @@ class sqlite $this->app = $app; $this->mysql = $dbh; $this->config = $config; - $this->magicQuote = (version_compare(phpversion(), '5.4', '<') and function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc()); $file = empty($params) || !isset($params->file) ? '' : $params->file; $this->connectSqlite($file); @@ -206,16 +205,4 @@ class sqlite { return $this->dbh->commit(); } - - /** - * Execute sql without format. - * - * @param string $sql - * @access public - * @return mixed - */ - public function rawExec(string $sql) - { - return $this->dbh->exec($sql); - } }