diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2016-11-13 18:08:35 +0100 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2016-11-16 17:59:28 +0100 |
commit | e974f338afb86c065e9b160363bc2e6156f8566d (patch) | |
tree | e0eddcc8228c5662fbd96e136483fb47e8e365a1 /phpBB/develop | |
parent | 9c7e8c2dc5607a594f1e8d3a633dc686e8c002a7 (diff) | |
download | forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.gz forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.bz2 forums-e974f338afb86c065e9b160363bc2e6156f8566d.tar.xz forums-e974f338afb86c065e9b160363bc2e6156f8566d.zip |
[ticket/14739] Remove SQLite 2.8.x database driver
PHPBB3-14739
Diffstat (limited to 'phpBB/develop')
-rw-r--r-- | phpBB/develop/add_permissions.php | 1 | ||||
-rw-r--r-- | phpBB/develop/create_schema_files.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/develop/add_permissions.php b/phpBB/develop/add_permissions.php index 697dbdbaca..c575729d91 100644 --- a/phpBB/develop/add_permissions.php +++ b/phpBB/develop/add_permissions.php @@ -379,7 +379,6 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting) $sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary)); break; - case 'sqlite': case 'sqlite3': $sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary)); break; diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index 09bc4c4085..6e0a082045 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -49,7 +49,7 @@ $classes = $finder->core_path('phpbb/') ->directory('/db/migration/data') ->get_classes(); -$db = new \phpbb\db\driver\sqlite(); +$db = new \phpbb\db\driver\sqlite3(); $factory = new \phpbb\db\tools\factory(); $db_tools = $factory->get($db, true); |