diff options
-rw-r--r-- | src/rabbit_queue_type.erl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rabbit_queue_type.erl b/src/rabbit_queue_type.erl index 9d794e13ee..569daa7bb2 100644 --- a/src/rabbit_queue_type.erl +++ b/src/rabbit_queue_type.erl @@ -36,9 +36,6 @@ is_server_named_allowed/1 ]). -%% temporary --export([with/3]). - %% gah what is a good identity of a classic queue including all replicas -type queue_name() :: rabbit_types:r(queue). -type queue_ref() :: queue_name() | atom(). @@ -499,13 +496,6 @@ dequeue(Q, NoAck, LimiterPid, CTag, Ctxs) -> Err end. -%% temporary -with(QRef, Fun, Ctxs) -> - #ctx{state = State0} = Ctx = get_ctx(QRef, Ctxs), - {Res, State} = Fun(State0), - {Res, set_ctx(QRef, Ctx#ctx{state = State}, Ctxs)}. - - get_ctx(Q, #?STATE{ctxs = Contexts}) when ?is_amqqueue(Q) -> Ref = qref(Q), case Contexts of |