* Delte unused method in SQLite lib.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user