Merge pull request #16691 from nextcloud/backport/16683/stable16
[stable16] Fix enable/disable user audit message
This commit is contained in:
commit
6bfcf97c7f
|
@ -100,7 +100,9 @@ class UserManagement extends Action {
|
|||
switch($params['feature']) {
|
||||
case 'enabled':
|
||||
$this->log(
|
||||
$params['value'] === 'true' ? 'User enabled: "%s"' : 'User disabled: "%s"',
|
||||
$params['value'] === true
|
||||
? 'User enabled: "%s"'
|
||||
: 'User disabled: "%s"',
|
||||
['user' => $params['user']->getUID()],
|
||||
[
|
||||
'user',
|
||||
|
|
Loading…
Reference in New Issue