Clean useless database arguments (5/5)

This commit is contained in:
Samantaz Fox
2021-12-07 03:57:18 +01:00
parent d74873fed1
commit 302fecbdcb
4 changed files with 4 additions and 6 deletions

View File

@@ -220,7 +220,7 @@ def subscribe_ajax(channel_id, action, env_headers)
end
end
def get_subscription_feed(db, user, max_results = 40, page = 1)
def get_subscription_feed(user, max_results = 40, page = 1)
limit = max_results.clamp(0, MAX_ITEMS_PER_PAGE)
offset = (page - 1) * limit