Merge "Remove < PHP 5.4 register_shutdown_function() from phpunit.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 11 Feb 2016 00:18:57 +0000 (00:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 11 Feb 2016 00:18:57 +0000 (00:18 +0000)
includes/db/Database.php
includes/db/DatabaseSqlite.php

index 564cd2e..bd1e375 100644 (file)
@@ -1925,7 +1925,6 @@ abstract class DatabaseBase implements IDatabase {
        /**
         * Get the name of an index in a given table.
         *
-        * @protected Don't use outside of DatabaseBase and childs
         * @param string $index
         * @return string
         */
index bb3028d..664484b 100644 (file)
@@ -429,7 +429,7 @@ class DatabaseSqlite extends Database {
         * @param string $index
         * @return string
         */
-       function indexName( $index ) {
+       protected function indexName( $index ) {
                return $index;
        }