summaryrefslogtreecommitdiff
path: root/src/mod_push.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_push.erl')
-rw-r--r--src/mod_push.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_push.erl b/src/mod_push.erl
index 1a12f602..a6e87137 100644
--- a/src/mod_push.erl
+++ b/src/mod_push.erl
@@ -163,7 +163,7 @@ get_commands_spec() ->
-spec delete_old_sessions(non_neg_integer()) -> ok | any().
delete_old_sessions(Days) ->
- CurrentTime = p1_time_compat:system_time(micro_seconds),
+ CurrentTime = erlang:system_time(microsecond),
Diff = Days * 24 * 60 * 60 * 1000000,
TimeStamp = misc:usec_to_now(CurrentTime - Diff),
DBTypes = lists:usort(