mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Simplify mark_unavailable
This commit is contained in:
parent
de193906a2
commit
d330db131e
@ -428,15 +428,11 @@ class Storage
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def mark_unavailable
|
|
||||||
mark_unavailable nil, nil
|
|
||||||
end
|
|
||||||
|
|
||||||
# Limit mark targets with given arguments
|
# Limit mark targets with given arguments
|
||||||
# They should be checked again if they are really gone,
|
# They should be checked again if they are really gone,
|
||||||
# since they would be available which are renamed or moved
|
# since they would be available which are renamed or moved
|
||||||
def mark_unavailable(ids_candidates : Array(String) | Nil,
|
def mark_unavailable(ids_candidates : Array(String)?,
|
||||||
titles_candidates : Array(String) | Nil)
|
titles_candidates : Array(String)?)
|
||||||
MainFiber.run do
|
MainFiber.run do
|
||||||
get_db do |db|
|
get_db do |db|
|
||||||
# Detect dangling entry IDs
|
# Detect dangling entry IDs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user