]> granicus.if.org Git - ejabberd/commitdiff
Add behaviour to mod_vcard_xupdate DB modules
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 1 May 2016 08:03:20 +0000 (11:03 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 1 May 2016 08:03:20 +0000 (11:03 +0300)
src/mod_vcard_xupdate_riak.erl
src/mod_vcard_xupdate_sql.erl

index 129a0c6a28a1dd1575dcfd1b30210bb6cd64010c..242485bf281e3100302c831822dcf6d49b2d1941 100644 (file)
@@ -8,6 +8,8 @@
 %%%-------------------------------------------------------------------
 -module(mod_vcard_xupdate_riak).
 
+-behaviour(mod_vcard_xupdate).
+
 %% API
 -export([init/2, import/2, add_xupdate/3, get_xupdate/2, remove_xupdate/2]).
 
index 7f0079dd0ca7aa337e7487e9504f0492566daa2a..00bb29501d3fc03b8f0074a6d130d8c60a49bbfb 100644 (file)
@@ -8,6 +8,8 @@
 %%%-------------------------------------------------------------------
 -module(mod_vcard_xupdate_sql).
 
+-behaviour(mod_vcard_xupdate).
+
 %% API
 -export([init/2, import/2, add_xupdate/3, get_xupdate/2, remove_xupdate/2,
         import/1, export/1]).