Fix total breakage of SQLite web upgrade
authorTim Starling <tstarling@wikimedia.org>
Wed, 1 Aug 2018 00:18:08 +0000 (10:18 +1000)
committerTim Starling <tstarling@wikimedia.org>
Wed, 1 Aug 2018 00:21:25 +0000 (10:21 +1000)
Partial revert of 8d61cf2793abd2, since LBFactoryTest.php passes without
overriding selectDB() in the current master. It's unclear why it was necessary.

Bug: T200861
Change-Id: I7c0560d7890616899297f81a227db98996d5cb7f

includes/libs/rdbms/database/DatabaseSqlite.php

index ca44572..b0fd12a 100644 (file)
@@ -220,10 +220,6 @@ class DatabaseSqlite extends Database {
                return false;
        }
 
-       public function selectDB( $db ) {
-               return false; // doesn't make sense
-       }
-
        /**
         * @return string SQLite DB file path
         * @since 1.25