mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Don't use deprecated gen_mod:db_type
This commit is contained in:
parent
24b9b69783
commit
9b040f65a3
@ -188,8 +188,8 @@ select(LServer, JidRequestor, #jid{luser = LUser} = JidArchive,
|
|||||||
{error, db_failure}.
|
{error, db_failure}.
|
||||||
select_with_mucsub(LServer, JidRequestor, #jid{luser = LUser} = JidArchive,
|
select_with_mucsub(LServer, JidRequestor, #jid{luser = LUser} = JidArchive,
|
||||||
MAMQuery, RSM) ->
|
MAMQuery, RSM) ->
|
||||||
Extra = case gen_mod:db_type(LServer, mod_muc) of
|
Extra = case gen_mod:db_mod(LServer, mod_muc) of
|
||||||
sql ->
|
mod_muc_sql ->
|
||||||
subscribers_table;
|
subscribers_table;
|
||||||
_ ->
|
_ ->
|
||||||
SubRooms = case mod_muc_admin:find_hosts(LServer) of
|
SubRooms = case mod_muc_admin:find_hosts(LServer) of
|
||||||
|
Loading…
Reference in New Issue
Block a user