Merge remote-tracking branch 'parent/main' into upstream-20241119
This commit is contained in:
commit
055045981f
221 changed files with 2006 additions and 1127 deletions
|
@ -12,7 +12,7 @@ class SoftwareUpdateCheckService < BaseService
|
|||
|
||||
def clean_outdated_updates!
|
||||
SoftwareUpdate.find_each do |software_update|
|
||||
software_update.delete if Mastodon::Version.gem_version >= software_update.gem_version
|
||||
software_update.delete if software_update.outdated?
|
||||
rescue ArgumentError
|
||||
software_update.delete
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue