From 7e42ce9700988fbcf5d0ffb28a9be35c41dd76ce Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 9 Mar 2016 01:03:04 +0100 Subject: [PATCH] Skin::getCommonStylePath() was removed Deprecated since 1.24. No uses in core or Gerrit extensions remaining. Change-Id: I15629292f00b6d2493f7a329670d85c76da50db9 --- RELEASE-NOTES-1.27 | 2 +- includes/skins/Skin.php | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 97938e2d7f..d91af428f2 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -392,7 +392,7 @@ changes to languages because of Phabricator reports. * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21). * Title::newFromRedirect() was removed (deprecated since 1.21). * Skin::commonPrintStylesheet() was removed (deprecated since 1.22). - +* Skin::getCommonStylePath() was removed (deprecated since 1.24). == Compatibility == diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 63b697838a..17f5fa4e0b 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -1024,21 +1024,6 @@ abstract class Skin extends ContextSource { $targetUser->canReceiveEmail(); } - /** - * This function previously returned a fully resolved style path URL to images or styles stored in - * the legacy skins/common/ directory. - * - * That directory has been removed in 1.24 and the function always returns an empty string. - * - * @deprecated since 1.24 - * @param string $name The name or path of a skin resource file - * @return string Empty string - */ - function getCommonStylePath( $name ) { - wfDeprecated( __METHOD__, '1.24' ); - return ''; - } - /** * Return a fully resolved style path url to images or styles stored in the current skins's folder. * This method returns a url resolved using the configured skin style path -- 2.20.1