Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/171461
Change subject: Remove deprecated functions from MWFunction ...................................................................... Remove deprecated functions from MWFunction * MWFunction::call() * MWFunction::callArray() Change-Id: I9b3acd59bc85d54298711e596397b61e4deeff75 --- M RELEASE-NOTES-1.25 M includes/utils/MWFunction.php 2 files changed, 2 insertions(+), 24 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/61/171461/1 diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index aa0d5a7..b649c2b 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -180,6 +180,8 @@ tag, instead of after the <text> and <sha1> tags. The new schema version is 0.10, the new schema URI is <https://www.mediawiki.org/xml/export-0.10.xsd>. +* MWFunction::call() and MWFunction::callArray() were removed, having being + deprecated in 1.22. == Compatibility == diff --git a/includes/utils/MWFunction.php b/includes/utils/MWFunction.php index 57fe79f..510a880 100644 --- a/includes/utils/MWFunction.php +++ b/includes/utils/MWFunction.php @@ -23,30 +23,6 @@ class MWFunction { /** - * @deprecated since 1.22; use call_user_func() - * @param callable $callback - * @return mixed - */ - public static function call( $callback ) { - wfDeprecated( __METHOD__, '1.22' ); - $args = func_get_args(); - - return call_user_func_array( 'call_user_func', $args ); - } - - /** - * @deprecated since 1.22; use call_user_func_array() - * @param callable $callback - * @param array $argsarams - * @return mixed - */ - public static function callArray( $callback, $argsarams ) { - wfDeprecated( __METHOD__, '1.22' ); - - return call_user_func_array( $callback, $argsarams ); - } - - /** * @param string $class * @param array $args * @return object -- To view, visit https://gerrit.wikimedia.org/r/171461 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9b3acd59bc85d54298711e596397b61e4deeff75 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Legoktm <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
