mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Unbind unused variable
This commit is contained in:
parent
22435ca562
commit
81df1ae3af
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ get_items(Nidx, JID, AccessModel, PresenceSubscription, RosterGroup, _SubId, RSM
|
|||
get_items(Nidx, JID, RSM)
|
||||
end.
|
||||
|
||||
get_last_items(Nidx, From, Count) when Count > 0 ->
|
||||
get_last_items(Nidx, _From, Count) when Count > 0 ->
|
||||
Items = mnesia:index_read(pubsub_item, Nidx, #pubsub_item.nodeidx),
|
||||
LastItems = lists:reverse(lists:keysort(#pubsub_item.modification, Items)),
|
||||
{result, lists:sublist(LastItems, Count)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue