summaryrefslogtreecommitdiff
path: root/src/ejabberd_db_modules.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-27 19:44:58 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-27 19:44:58 +0300
commit0b93cb7ecefcb283c3421ddd2e0544733da4bc08 (patch)
treeb190c696a7e2fa7bf90c16d2aab8734d5f7f790b /src/ejabberd_db_modules.erl
parentMerge pull request #1702 from skuroki/patch-1 (diff)
Store options using p1_options module
Diffstat (limited to 'src/ejabberd_db_modules.erl')
-rw-r--r--src/ejabberd_db_modules.erl44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/ejabberd_db_modules.erl b/src/ejabberd_db_modules.erl
new file mode 100644
index 00000000..2a92f3ae
--- /dev/null
+++ b/src/ejabberd_db_modules.erl
@@ -0,0 +1,44 @@
+%%%-------------------------------------------------------------------
+%%% @author Evgeny Khramtsov <ekhramtsov@process-one.net>
+%%% @doc
+%%% This is a stub module which will be replaced during
+%%% configuration load via p1_options:compile/1
+%%% The only purpose of this file is to shut up xref/dialyzer
+%%% @end
+%%% Created : 27 Apr 2017 by Evgeny Khramtsov <ekhramtsov@process-one.net>
+%%%
+%%%
+%%% ejabberd, Copyright (C) 2002-2017 ProcessOne
+%%%
+%%% This program is free software; you can redistribute it and/or
+%%% modify it under the terms of the GNU General Public License as
+%%% published by the Free Software Foundation; either version 2 of the
+%%% License, or (at your option) any later version.
+%%%
+%%% This program is distributed in the hope that it will be useful,
+%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%%% General Public License for more details.
+%%%
+%%% You should have received a copy of the GNU General Public License along
+%%% with this program; if not, write to the Free Software Foundation, Inc.,
+%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+%%%
+%%%-------------------------------------------------------------------
+-module(ejabberd_db_modules).
+
+%% API
+-export([is_known/1, get_scope/1]).
+
+%%%===================================================================
+%%% API
+%%%===================================================================
+is_known(_) ->
+ false.
+
+get_scope(_) ->
+ [].
+
+%%%===================================================================
+%%% Internal functions
+%%%===================================================================