From: Evgeniy Khramtsov Date: Sun, 1 May 2016 08:03:20 +0000 (+0300) Subject: Add behaviour to mod_vcard_xupdate DB modules X-Git-Tag: 16.06~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82082f1799982acaa333c3a2a1368225b5921f45;p=ejabberd Add behaviour to mod_vcard_xupdate DB modules --- diff --git a/src/mod_vcard_xupdate_riak.erl b/src/mod_vcard_xupdate_riak.erl index 129a0c6a2..242485bf2 100644 --- a/src/mod_vcard_xupdate_riak.erl +++ b/src/mod_vcard_xupdate_riak.erl @@ -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]). diff --git a/src/mod_vcard_xupdate_sql.erl b/src/mod_vcard_xupdate_sql.erl index 7f0079dd0..00bb29501 100644 --- a/src/mod_vcard_xupdate_sql.erl +++ b/src/mod_vcard_xupdate_sql.erl @@ -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]).