From 82082f1799982acaa333c3a2a1368225b5921f45 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Sun, 1 May 2016 11:03:20 +0300 Subject: [PATCH] Add behaviour to mod_vcard_xupdate DB modules --- src/mod_vcard_xupdate_riak.erl | 2 ++ src/mod_vcard_xupdate_sql.erl | 2 ++ 2 files changed, 4 insertions(+) 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]).