summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-04-01 13:31:19 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-04-01 13:31:19 +0100
commit531122734f431d502c1a25b6b91c5e68c2b3d971 (patch)
tree6295f9bb62fe42af45f29f8f3156566ca34e6fb3
parent9f19b06fb5d6787a54cf8136b3c1ab67d0014e16 (diff)
downloadrabbitmq-server-bug25786.tar.gz
Cosmeticbug25786
-rw-r--r--src/rabbit_auth_backend_internal.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rabbit_auth_backend_internal.erl b/src/rabbit_auth_backend_internal.erl
index bef0f968..fd1c4e8e 100644
--- a/src/rabbit_auth_backend_internal.erl
+++ b/src/rabbit_auth_backend_internal.erl
@@ -262,13 +262,13 @@ set_permissions(Username, VHostPath, ConfigurePerm, WritePerm, ReadPerm) ->
clear_permissions(Username, VHostPath) ->
R = rabbit_misc:execute_mnesia_transaction(
- rabbit_misc:with_user_and_vhost(
- Username, VHostPath,
- fun () ->
- ok = mnesia:delete({rabbit_user_permission,
- #user_vhost{username = Username,
- virtual_host = VHostPath}})
- end)),
+ rabbit_misc:with_user_and_vhost(
+ Username, VHostPath,
+ fun () ->
+ ok = mnesia:delete({rabbit_user_permission,
+ #user_vhost{username = Username,
+ virtual_host = VHostPath}})
+ end)),
rabbit_event:notify(permission_deleted, [{user, Username},
{vhost, VHostPath}]),
R.