Addshore has uploaded a new change for review. https://gerrit.wikimedia.org/r/87604
Change subject: Remove deprecated EntityContentFactory::singleton ...................................................................... Remove deprecated EntityContentFactory::singleton All use of this method was removed earlier Change-Id: I93ef9378dad3f87a6b1004024661122c8808ad43 --- M repo/includes/content/EntityContentFactory.php 1 file changed, 0 insertions(+), 34 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/04/87604/1 diff --git a/repo/includes/content/EntityContentFactory.php b/repo/includes/content/EntityContentFactory.php index 666c4d8..b0cdb33 100644 --- a/repo/includes/content/EntityContentFactory.php +++ b/repo/includes/content/EntityContentFactory.php @@ -13,46 +13,12 @@ /** * Factory for EntityContent objects. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * * @since 0.2 - * - * @file - * @ingroup WikibaseRepo * * @licence GNU GPL v2+ * @author Jeroen De Dauw < [email protected] > */ class EntityContentFactory implements EntityTitleLookup { - - /** - * @since 0.2 - * @deprecated since 0.4 - * - * @return EntityContentFactory - */ - public static function singleton() { - static $instance = false; - - if ( $instance === false ) { - $instance = WikibaseRepo::getDefaultInstance()->getEntityContentFactory(); - } - - return $instance; - } // TODO: inject this map and allow extensions to somehow extend it protected static $typeMap = array( -- To view, visit https://gerrit.wikimedia.org/r/87604 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I93ef9378dad3f87a6b1004024661122c8808ad43 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Addshore <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
