Follow-up to 02818c441cb10ce6bec2bc673fefdf1513791dc3
authorRicordisamoa <ricordisamoa@openmailbox.org>
Wed, 10 Feb 2016 23:09:05 +0000 (00:09 +0100)
committerRicordisamoa <ricordisamoa@openmailbox.org>
Wed, 10 Feb 2016 23:09:05 +0000 (00:09 +0100)
* Remove obsolete @protected tag from docstring
  of DatabaseBase::indexName(), now really protected

* Make DatabaseSqlite::indexName() protected too

Change-Id: I90f894878379d0850dba61cd483af16864c209ea

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;
        }