fixup! Feeds: Get rid of feed_needs_update() since it appears to be unused
All checks were successful
Invidious CI / build (push) Successful in 5m2s
All checks were successful
Invidious CI / build (push) Successful in 5m2s
This commit is contained in:
parent
5dd37bfee7
commit
eac85f111c
3 changed files with 16 additions and 16 deletions
|
@ -154,17 +154,17 @@ module Invidious::Database::Users
|
||||||
# Update (misc)
|
# Update (misc)
|
||||||
# -------------------
|
# -------------------
|
||||||
|
|
||||||
# Feeds never need update. PubSubHubBub is the one that sends videos to
|
# Feeds never need update. PubSubHubBub is the one that sends videos to
|
||||||
# invidious.
|
# invidious.
|
||||||
# def feed_needs_update(video : ChannelVideo)
|
# def feed_needs_update(video : ChannelVideo)
|
||||||
# request = <<-SQL
|
# request = <<-SQL
|
||||||
# UPDATE users
|
# UPDATE users
|
||||||
# SET feed_needs_update = true
|
# SET feed_needs_update = true
|
||||||
# WHERE $1 = ANY(subscriptions)
|
# WHERE $1 = ANY(subscriptions)
|
||||||
# SQL
|
# SQL
|
||||||
|
|
||||||
# PG_DB.exec(request, video.ucid)
|
# PG_DB.exec(request, video.ucid)
|
||||||
# end
|
# end
|
||||||
|
|
||||||
def update_preferences(user : User)
|
def update_preferences(user : User)
|
||||||
request = <<-SQL
|
request = <<-SQL
|
||||||
|
|
Loading…
Reference in a new issue