mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Remove duplicate method from repository [SCI-4516]
This commit is contained in:
parent
837437309e
commit
b85c192b68
1 changed files with 0 additions and 8 deletions
|
@ -188,12 +188,4 @@ class Repository < RepositoryBase
|
||||||
importer = RepositoryImportParser::Importer.new(sheet, mappings, user, self)
|
importer = RepositoryImportParser::Importer.new(sheet, mappings, user, self)
|
||||||
importer.run
|
importer.run
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy_discarded(discarded_by_id = nil)
|
|
||||||
self.discarded_by_id = discarded_by_id
|
|
||||||
destroy
|
|
||||||
end
|
|
||||||
handle_asynchronously :destroy_discarded,
|
|
||||||
queue: :clear_discarded_repository,
|
|
||||||
priority: 20
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue