Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Merge 7e45099 into 8a1ce02
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed May 29, 2019
2 parents 8a1ce02 + 7e45099 commit b99df28
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 122 deletions.
1 change: 0 additions & 1 deletion lib/dor-services.rb
Expand Up @@ -110,7 +110,6 @@ def logger
autoload :CleanupService
autoload :CollectionService
autoload :CreativeCommonsLicenseService
autoload :DeleteService
autoload :EmbargoService
autoload :IdentityMetadataTagService
autoload :Ontology
Expand Down
15 changes: 0 additions & 15 deletions lib/dor/services/cleanup_service.rb
Expand Up @@ -44,20 +44,5 @@ def self.remove_branch(pathname)
pathname.rmtree if pathname.exist?
end
private_class_method :remove_branch

# Tries to remove any exsitence of the object in our systems
# Does the following:
# - Removes item from Dor/Fedora/Solr
# - Removes content from dor workspace
# - Removes content from assembly workspace
# - Removes content from sdr export area
# - Removes content from stacks
# - Removes content from purl
# - Removes active workflows
# @param [String] druid id of the object you wish to remove
def self.nuke!(druid)
Deprecation.warn(self, 'CleanupService.nuke! is deprecated and will be removed in dor-services 8. Use Dor::DeleteService.destroy() instead.')
DeleteService.destroy(druid)
end
end
end
57 changes: 0 additions & 57 deletions lib/dor/services/delete_service.rb

This file was deleted.

49 changes: 0 additions & 49 deletions spec/services/delete_service_spec.rb

This file was deleted.

0 comments on commit b99df28

Please sign in to comment.