namespace MediaWiki\Auth;
+use Psr\Log\LoggerInterface;
use User;
/**
/** @var string|null */
protected $domain = null;
- /** @var \\Psr\\Log\\LoggerInterface */
+ /** @var LoggerInterface */
protected $logger = null;
public function __construct() {
}
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() {