From: Ricordisamoa Date: Wed, 10 Feb 2016 23:09:05 +0000 (+0100) Subject: Follow-up to 02818c441cb10ce6bec2bc673fefdf1513791dc3 X-Git-Tag: 1.31.0-rc.0~8006 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=1e37987beb49132cd7e01c08cab6c21a6d1b3c16;p=lhc%2Fweb%2Fwiklou.git Follow-up to 02818c441cb10ce6bec2bc673fefdf1513791dc3 * Remove obsolete @protected tag from docstring of DatabaseBase::indexName(), now really protected * Make DatabaseSqlite::indexName() protected too Change-Id: I90f894878379d0850dba61cd483af16864c209ea --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 564cd2ee24..bd1e3753e6 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -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 */ diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index bb3028db16..664484be45 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -429,7 +429,7 @@ class DatabaseSqlite extends Database { * @param string $index * @return string */ - function indexName( $index ) { + protected function indexName( $index ) { return $index; }