aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-01-26 23:13:32 +0100
committerBadlop <badlop@process-one.net>2022-02-03 18:21:51 +0100
commitc92478f7c23e174580d02d4a4550255e1687a7a9 (patch)
treef8344d9129ee99f7d2b18d3e675c5c713c5d9592
parentFix support for MSSQL testing (diff)
Use the same wording in all the identical options db_type and ram_db_type
-rw-r--r--src/mod_bosh.erl3
-rw-r--r--src/mod_muc.erl9
-rw-r--r--src/mod_proxy65.erl4
-rw-r--r--src/mod_shared_roster.erl7
4 files changed, 10 insertions, 13 deletions
diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl
index 37a7fa809..059058a3b 100644
--- a/src/mod_bosh.erl
+++ b/src/mod_bosh.erl
@@ -244,7 +244,8 @@ mod_doc() ->
{ram_db_type,
#{value => "mnesia | sql | redis",
desc =>
- ?T("Same as _`default_ram_db`_ but applied to this module only.")}},
+ ?T("Same as top-level _`default_ram_db`_ option, "
+ "but applied to this module only.")}},
{use_cache,
#{value => "true | false",
desc =>
diff --git a/src/mod_muc.erl b/src/mod_muc.erl
index 72f386b00..fd0f12294 100644
--- a/src/mod_muc.erl
+++ b/src/mod_muc.erl
@@ -1424,14 +1424,13 @@ mod_doc() ->
{db_type,
#{value => "mnesia | sql",
desc =>
- ?T("Define the type of persistent storage where the module will "
- "store room information. The default is the storage defined "
- "by the global option 'default_db', or 'mnesia' if omitted.")}},
+ ?T("Same as top-level _`default_db`_ option, "
+ "but applied to this module only.")}},
{ram_db_type,
#{value => "mnesia | sql",
desc =>
- ?T("Define the type of volatile (in-memory) storage where the module "
- "will store room information ('muc_online_room' and 'muc_online_users').")}},
+ ?T("Same as top-level _`default_ram_db`_ option, "
+ "but applied to this module only.")}},
{hibernation_timeout,
#{value => "infinity | Seconds",
desc =>
diff --git a/src/mod_proxy65.erl b/src/mod_proxy65.erl
index ce1c67a36..4b4f02c03 100644
--- a/src/mod_proxy65.erl
+++ b/src/mod_proxy65.erl
@@ -173,8 +173,8 @@ mod_doc() ->
{ram_db_type,
#{value => "mnesia | redis | sql",
desc =>
- ?T("Define the type of volatile (in-memory) storage where the module "
- "will store room information.")}},
+ ?T("Same as top-level _`default_ram_db`_ option, "
+ "but applied to this module only.")}},
{ip,
#{value => ?T("IPAddress"),
desc =>
diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl
index f92e16496..b590578df 100644
--- a/src/mod_shared_roster.erl
+++ b/src/mod_shared_roster.erl
@@ -1276,11 +1276,8 @@ mod_doc() ->
[{db_type,
#{value => "mnesia | sql",
desc =>
- ?T("Define the type of storage where the module will create "
- "the tables and store user information. The default is "
- "the storage defined by the top-level _`default_db`_ option, "
- "or 'mnesia' if omitted. If 'sql' value is defined, "
- "make sure you have defined the database.")}},
+ ?T("Same as top-level _`default_db`_ option, "
+ "but applied to this module only.")}},
{use_cache,
#{value => "true | false",
desc =>