aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_stats.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-01-23 18:50:08 +0100
committerAnders Svensson <[email protected]>2014-01-27 16:58:08 +0100
commit11d657f6df177bf14d4d7eac5c46332ef7a9b1c2 (patch)
tree3275cdb694e13b96f3cd5e31a181d50dc1e3927b /lib/diameter/src/base/diameter_stats.erl
parentcd7c7949701883d379813c1c6f439311b1cf6aa2 (diff)
downloadotp-11d657f6df177bf14d4d7eac5c46332ef7a9b1c2.tar.gz
otp-11d657f6df177bf14d4d7eac5c46332ef7a9b1c2.tar.bz2
otp-11d657f6df177bf14d4d7eac5c46332ef7a9b1c2.zip
Remove upgrade-related code
No longer needed to update code in runtime since the emulator is restarted at a major release.
Diffstat (limited to 'lib/diameter/src/base/diameter_stats.erl')
-rw-r--r--lib/diameter/src/base/diameter_stats.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/diameter/src/base/diameter_stats.erl b/lib/diameter/src/base/diameter_stats.erl
index b68d4af11f..8353613d32 100644
--- a/lib/diameter/src/base/diameter_stats.erl
+++ b/lib/diameter/src/base/diameter_stats.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -245,9 +245,6 @@ handle_call({read, Refs, Del}, _From, State) ->
handle_call({read, Refs}, _, State) ->
{reply, read_refs(Refs), State};
-handle_call({flush, Refs}, _From, State) -> %% from old code
- {reply, to_refdict(read(Refs, true)), State};
-
handle_call(Req, From, State) ->
?UNEXPECTED([Req, From]),
{reply, nok, State}.