summaryrefslogtreecommitdiff
path: root/src/mod_push_mnesia.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-10-26 21:05:09 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-10-26 21:05:09 +0300
commit9eb2685f90f28b53c5219e8b188dc97721d5beb9 (patch)
tree3ab57bfb714cd6aca637386e2b122b5e0e6b516b /src/mod_push_mnesia.erl
parentAdd SQL support for mod_push (diff)
Make it possible to export push_session table to SQL
Diffstat (limited to 'src/mod_push_mnesia.erl')
-rw-r--r--src/mod_push_mnesia.erl8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mod_push_mnesia.erl b/src/mod_push_mnesia.erl
index ea707dbf..82021b8b 100644
--- a/src/mod_push_mnesia.erl
+++ b/src/mod_push_mnesia.erl
@@ -36,13 +36,7 @@
-include_lib("stdlib/include/ms_transform.hrl").
-include("logger.hrl").
-include("xmpp.hrl").
-
--record(push_session,
- {us = {<<"">>, <<"">>} :: {binary(), binary()},
- timestamp = p1_time_compat:timestamp() :: erlang:timestamp(),
- service = {<<"">>, <<"">>, <<"">>} :: ljid(),
- node = <<"">> :: binary(),
- xdata = #xdata{} :: xdata()}).
+-include("mod_push.hrl").
%%%-------------------------------------------------------------------
%%% API