-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete and redo file sets #964
Conversation
@@ -2,4 +2,22 @@ | |||
|
|||
module Bulkrax | |||
class DeleteFileSetJob < DeleteJob; end | |||
|
|||
def perform(entry, importer_run) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to pass the importer_run? It doesn't seem like it's getting used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its used in the parent job (so the call to super gets it)
@@ -2,4 +2,22 @@ | |||
|
|||
module Bulkrax | |||
class DeleteFileSetJob < DeleteJob; end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, ignore me if I'm reading this wrong, but is this an extra end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grr - I really hate the ; end
syntax. it takes an important thing and hides it for no real gain but to save a linefeed. fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a really good catch Shana. its legal to define the method on the module so its syntaxitcally correct but would not have ever been called the way I had it
No description provided.