25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

node_pep: Fix remove_expired_items/2 argument name

This commit is contained in:
Holger Weiss 2021-10-31 21:32:45 +01:00
parent 2f1611f918
commit 65a900668c
2 changed files with 4 additions and 4 deletions

View File

@ -142,8 +142,8 @@ remove_extra_items(Nidx, MaxItems) ->
remove_extra_items(Nidx, MaxItems, ItemIds) -> remove_extra_items(Nidx, MaxItems, ItemIds) ->
node_flat:remove_extra_items(Nidx, MaxItems, ItemIds). node_flat:remove_extra_items(Nidx, MaxItems, ItemIds).
remove_expired_items(Nidx, ItemIds) -> remove_expired_items(Nidx, Seconds) ->
node_flat:remove_expired_items(Nidx, ItemIds). node_flat:remove_expired_items(Nidx, Seconds).
delete_item(Nidx, Publisher, PublishModel, ItemId) -> delete_item(Nidx, Publisher, PublishModel, ItemId) ->
node_flat:delete_item(Nidx, Publisher, PublishModel, ItemId). node_flat:delete_item(Nidx, Publisher, PublishModel, ItemId).

View File

@ -99,8 +99,8 @@ remove_extra_items(Nidx, MaxItems) ->
remove_extra_items(Nidx, MaxItems, ItemIds) -> remove_extra_items(Nidx, MaxItems, ItemIds) ->
node_flat_sql:remove_extra_items(Nidx, MaxItems, ItemIds). node_flat_sql:remove_extra_items(Nidx, MaxItems, ItemIds).
remove_expired_items(Nidx, ItemIds) -> remove_expired_items(Nidx, Seconds) ->
node_flat_sql:remove_expired_items(Nidx, ItemIds). node_flat_sql:remove_expired_items(Nidx, Seconds).
delete_item(Nidx, Publisher, PublishModel, ItemId) -> delete_item(Nidx, Publisher, PublishModel, ItemId) ->
node_flat_sql:delete_item(Nidx, Publisher, PublishModel, ItemId). node_flat_sql:delete_item(Nidx, Publisher, PublishModel, ItemId).