dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0652366
)
Mark UserRights hook as deprecated
author
Kunal Mehta
<legoktm@gmail.com>
Tue, 22 Sep 2015 18:29:34 +0000
(11:29 -0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Tue, 22 Sep 2015 18:29:54 +0000
(11:29 -0700)
Bug: T113358
Change-Id: I0b4a319f703c549da42d579063e1eadb2260fa21
includes/specials/SpecialUserrights.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUserrights.php
b/includes/specials/SpecialUserrights.php
index
e91c0bd
..
1ed392f
100644
(file)
--- a/
includes/specials/SpecialUserrights.php
+++ b/
includes/specials/SpecialUserrights.php
@@
-274,7
+274,8
@@
class UserrightsPage extends SpecialPage {
wfDebug( 'oldGroups: ' . print_r( $oldGroups, true ) . "\n" );
wfDebug( 'newGroups: ' . print_r( $newGroups, true ) . "\n" );
- Hooks::run( 'UserRights', array( &$user, $add, $remove ) );
+ // Deprecated in favor of UserGroupsChanged hook
+ Hooks::run( 'UserRights', array( &$user, $add, $remove ), '1.26' );
if ( $newGroups != $oldGroups ) {
$this->addLogEntry( $user, $oldGroups, $newGroups, $reason );