diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2012-04-20 16:52:33 +1000 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2012-04-20 16:52:33 +1000 |
commit | 31c13cc1c81f0eb81020e44275564d466613af1e (patch) | |
tree | e3cf544607eb4c56c2045faf67a4831f057cebb6 /src | |
parent | Update Czech translation (thanks to Jan Pinkas) (diff) |
Remove useless mnesia call
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_vcard_xupdate_odbc.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mod_vcard_xupdate_odbc.erl b/src/mod_vcard_xupdate_odbc.erl index b93563dd8..b6a5adfb4 100644 --- a/src/mod_vcard_xupdate_odbc.erl +++ b/src/mod_vcard_xupdate_odbc.erl @@ -20,16 +20,11 @@ -include("ejabberd.hrl"). -include("jlib.hrl"). --record(vcard_xupdate, {us, hash}). - %%==================================================================== %% gen_mod callbacks %%==================================================================== start(Host, _Opts) -> - mnesia:create_table(vcard_xupdate, - [{disc_copies, [node()]}, - {attributes, record_info(fields, vcard_xupdate)}]), ejabberd_hooks:add(c2s_update_presence, Host, ?MODULE, update_presence, 100), ejabberd_hooks:add(vcard_set, Host, @@ -68,7 +63,7 @@ vcard_set(LUser, LServer, VCARD) -> ejabberd_sm:force_update_presence(US). %%==================================================================== -%% Mnesia storage +%% ODBC storage %%==================================================================== add_xupdate(LUser, LServer, Hash) -> |