diff options
| author | 2020-12-28 19:53:55 +0100 | |
|---|---|---|
| committer | 2020-12-28 19:53:55 +0100 | |
| commit | 0a2d9b3b54ee51a3965d79c68409ef045ad5834b (patch) | |
| tree | 12cbfd4d1f57a4ba445cc75637c95ba7c7720fb0 /lib/Minz/PdoSqlite.php | |
| parent | c246e5d74b1fb88ada602764f247942f2eebc4ca (diff) | |
Revert "Add a file for each PDO class (#3297)"
This reverts commit e1ee58816ba76734e4115fc12898b13de665b220.
Diffstat (limited to 'lib/Minz/PdoSqlite.php')
| -rw-r--r-- | lib/Minz/PdoSqlite.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Minz/PdoSqlite.php b/lib/Minz/PdoSqlite.php deleted file mode 100644 index c577ad887..000000000 --- a/lib/Minz/PdoSqlite.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -/** - * MINZ - Copyright 2011 Marien Fressinaud - * Sous licence AGPL3 <http://www.gnu.org/licenses/> - */ - -class Minz_PdoSqlite extends Minz_Pdo { - public function __construct($dsn, $username = null, $passwd = null, $options = null) { - parent::__construct($dsn, $username, $passwd, $options); - $this->exec('PRAGMA foreign_keys = ON;'); - } - - public function dbType() { - return 'sqlite'; - } - - public function lastInsertId($name = null) { - return parent::lastInsertId(); //We discard the name, only used by PostgreSQL - } -} |
