Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/135030
Change subject: Remove method that seems to be not used ...................................................................... Remove method that seems to be not used Change-Id: I63dc614c8137d32ac12ec7ee50dbbaa12a6cf6bd --- M lib/includes/Utils.php 1 file changed, 0 insertions(+), 18 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/30/135030/1 diff --git a/lib/includes/Utils.php b/lib/includes/Utils.php index 666fa63..c6ce4f7 100644 --- a/lib/includes/Utils.php +++ b/lib/includes/Utils.php @@ -68,24 +68,6 @@ } /** - * Inserts some sites into the sites table, if the sites table is currently empty. - * Called when update.php is run. The initial sites are loaded from https://meta.wikimedia.org. - * - * @param DatabaseUpdater $updater database updater. Not used. Present to be - * compatible with DatabaseUpdater::addExtensionUpdate - * - * @throws MWException if an error occurs. - * @since 0.1 - */ - public static function insertDefaultSites( $updater = null ) { - if ( SiteSQLStore::newInstance()->getSites()->count() > 0 ) { - return; - } - - self::insertSitesFrom( 'https://meta.wikimedia.org/w/api.php' ); - } - - /** * Inserts sites from another wiki into the sites table. The other wiki must run the * WikiMatrix extension. Existing entries in the sites table are not modified. * -- To view, visit https://gerrit.wikimedia.org/r/135030 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I63dc614c8137d32ac12ec7ee50dbbaa12a6cf6bd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits