dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Improve "selfmove" message's wording"
[lhc/web/wiklou.git]
/
includes
/
auth
/
AuthManagerAuthPlugin.php
diff --git
a/includes/auth/AuthManagerAuthPlugin.php
b/includes/auth/AuthManagerAuthPlugin.php
index
8845858
..
9a1e445
100644
(file)
--- a/
includes/auth/AuthManagerAuthPlugin.php
+++ b/
includes/auth/AuthManagerAuthPlugin.php
@@
-152,8
+152,9
@@
class AuthManagerAuthPlugin extends \AuthPlugin {
}
public function updateExternalDBGroups( $user, $addgroups, $delgroups = [] ) {
}
public function updateExternalDBGroups( $user, $addgroups, $delgroups = [] ) {
- \Hooks::run( 'UserGroupsChanged', [ $user, $addgroups, $delgroups ] );
- return true;
+ throw new \BadMethodCallException(
+ 'Update of user groups via AuthPlugin is not supported with AuthManager.'
+ );
}
public function canCreateAccounts() {
}
public function canCreateAccounts() {