Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/184721
Change subject: (Proof of concept) Deprecate wfRunHooks()
......................................................................
(Proof of concept) Deprecate wfRunHooks()
That is merely to highlight our deprecation system.
Change-Id: I7577f4d4d99a4f076396444551d6ffd8b489583c
---
M includes/GlobalFunctions.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/21/184721/1
diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 9518182..eb133ad 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -4029,6 +4029,7 @@
* @deprecated 1.25
*/
function wfRunHooks( $event, array $args = array(), $deprecatedVersion = null
) {
+ wfDeprecated( __METHOD__, '1.25' );
return Hooks::run( $event, $args, $deprecatedVersion );
}
--
To view, visit https://gerrit.wikimedia.org/r/184721
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7577f4d4d99a4f076396444551d6ffd8b489583c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits