From: Aaron Schulz Date: Tue, 26 Mar 2019 22:03:45 +0000 (-0700) Subject: Remove deprecated wfSplitWikiID() function X-Git-Tag: 1.34.0-rc.0~2272^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=d3e65ed02e0cbd91297b7352be9886aa0fd4c8a3;p=lhc%2Fweb%2Fwiklou.git Remove deprecated wfSplitWikiID() function Change-Id: I87c5532effde9d433aef537228aa804f6d751f9b --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 83b3cc3a60..97a66fbf00 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -344,6 +344,7 @@ because of Phabricator reports. * The translation of main page in Sardinian (sc) was changed from "Pàgina Base" to "Pàgina printzipale". Existing wikis using this content language need to move the main page or change the name through MediaWiki:Mainpage page. +* wfSplitWikiID(), deprecated in 1.32, has been removed. === Deprecations in 1.33 === * The configuration option $wgUseESI has been deprecated, and is expected diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 55b78acf53..20f3fd0417 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2610,22 +2610,6 @@ function wfWikiID() { } } -/** - * Split a wiki ID into DB name and table prefix - * - * @param string $wiki - * - * @return array - * @deprecated 1.32 - */ -function wfSplitWikiID( $wiki ) { - $bits = explode( '-', $wiki, 2 ); - if ( count( $bits ) < 2 ) { - $bits[] = ''; - } - return $bits; -} - /** * Get a Database object. *