Skip to content

Commit

Permalink
Remove unused, irrelevant ImportUrlSuccessService
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed May 9, 2017
1 parent b48cc4b commit d144920
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
22 changes: 0 additions & 22 deletions app/services/hyrax/import_url_success_service.rb

This file was deleted.

3 changes: 2 additions & 1 deletion config/initializers/hyrax_callbacks.rb
Expand Up @@ -36,7 +36,8 @@
end

Hyrax.config.callback.set(:after_import_url_success) do |file_set, user|
Hyrax::ImportUrlSuccessService.new(file_set, user).call
# ImportUrlSuccessService was removed here since it's duplicative of
# the :after_create_fileset notification
end

Hyrax.config.callback.set(:after_import_url_failure) do |file_set, user|
Expand Down
20 changes: 0 additions & 20 deletions spec/services/hyrax/import_url_success_service_spec.rb

This file was deleted.

0 comments on commit d144920

Please sign in to comment.