Phabricator: Use Tddddd instead of Bug ddddd in comments
[lhc/web/wiklou.git] / includes / libs / rdbms / database / DatabaseSqlite.php
index c8edc39..0e6240f 100644 (file)
@@ -297,7 +297,7 @@ class DatabaseSqlite extends Database {
                return $this->query( "ATTACH DATABASE $file AS $name", $fname );
        }
 
-       function isWriteQuery( $sql ) {
+       protected function isWriteQuery( $sql ) {
                return parent::isWriteQuery( $sql ) && !preg_match( '/^(ATTACH|PRAGMA)\b/i', $sql );
        }
 
@@ -406,7 +406,7 @@ class DatabaseSqlite extends Database {
        function numFields( $res ) {
                $r = $res instanceof ResultWrapper ? $res->result : $res;
                if ( is_array( $r ) && count( $r ) > 0 ) {
-                       // The size of the result array is twice the number of fields. (Bug: 65578)
+                       // The size of the result array is twice the number of fields. (T67578)
                        return count( $r[0] ) / 2;
                } else {
                        // If the result is empty return 0