diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-11-30 18:16:05 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-11-30 18:16:05 +0000 |
commit | 4ac665f3111d016d4bcb38c6fc2082f5c9883811 (patch) | |
tree | 647330ba1bf2710af307b3a2a3e6b3fc895f7c48 /src/rabbit_auth_mechanism_cr_demo.erl | |
parent | ad4d8b090b45f47569c40dde99b630537083f403 (diff) | |
download | rabbitmq-server-4ac665f3111d016d4bcb38c6fc2082f5c9883811.tar.gz |
Remove should_offer/1.
Diffstat (limited to 'src/rabbit_auth_mechanism_cr_demo.erl')
-rw-r--r-- | src/rabbit_auth_mechanism_cr_demo.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_auth_mechanism_cr_demo.erl b/src/rabbit_auth_mechanism_cr_demo.erl index fe77021a..0e4b7a85 100644 --- a/src/rabbit_auth_mechanism_cr_demo.erl +++ b/src/rabbit_auth_mechanism_cr_demo.erl @@ -34,7 +34,7 @@ -behaviour(rabbit_auth_mechanism). --export([description/0, should_offer/1, init/1, handle_response/2]). +-export([description/0, init/1, handle_response/2]). -include("rabbit_auth_mechanism_spec.hrl"). @@ -58,9 +58,6 @@ description() -> {description, <<"RabbitMQ Demo challenge-response authentication " "mechanism">>}]. -should_offer(_Sock) -> - true. - init(_Sock) -> #state{}. |