rdbms: remove unused $fulltextEnabled field from DatabaseSqlite
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 26 Aug 2019 17:24:36 +0000 (10:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 26 Aug 2019 19:16:51 +0000 (12:16 -0700)
Change-Id: Idad680485f6cf6b521a0ea33c02d30e78d1d6b50

includes/libs/rdbms/database/DatabaseSqlite.php

index b1521dc..2977291 100644 (file)
@@ -57,9 +57,6 @@ class DatabaseSqlite extends Database {
        /** @var array List of shared database already attached to this connection */
        private $alreadyAttached = [];
 
-       /** @var bool Whether full text is enabled */
-       private static $fulltextEnabled = null;
-
        /** @var string[] See https://www.sqlite.org/lang_transaction.html */
        private static $VALID_TRX_MODES = [ '', 'DEFERRED', 'IMMEDIATE', 'EXCLUSIVE' ];
 
@@ -291,8 +288,9 @@ class DatabaseSqlite extends Database {
        }
 
        /**
-        * Attaches external database to our connection, see https://sqlite.org/lang_attach.html
-        * for details.
+        * Attaches external database to the connection handle
+        *
+        * @see https://sqlite.org/lang_attach.html
         *
         * @param string $name Database name to be used in queries like
         *   SELECT foo FROM dbname.table