summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-09-11 14:53:46 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2013-09-11 14:53:46 +0100
commit139b0097d6c34fc016cb6599a8c8613c9be7010a (patch)
treebf30b463ef72221aba707869cb9a7f14d65b9f9f /src
parentbaaa07ec15fd9abbb9fa7e40c02a79878d1132b3 (diff)
downloadrabbitmq-server-git-139b0097d6c34fc016cb6599a8c8613c9be7010a.tar.gz
cosmetic: remove unnecessary FQ call
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_vhost.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_vhost.erl b/src/rabbit_vhost.erl
index fcf77bf942..8d013d4337 100644
--- a/src/rabbit_vhost.erl
+++ b/src/rabbit_vhost.erl
@@ -122,7 +122,7 @@ with(VHostPath, Thunk) ->
end.
%% Like with/2 but outside an Mnesia tx
-assert(VHostPath) -> case rabbit_vhost:exists(VHostPath) of
+assert(VHostPath) -> case exists(VHostPath) of
true -> ok;
false -> throw({error, {no_such_vhost, VHostPath}})
end.