Skip to content

Commit

Permalink
delete classes graph helper method in submission
Browse files Browse the repository at this point in the history
  • Loading branch information
msalvadores committed Oct 9, 2013
1 parent 3fe1de0 commit 4343ed3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ontologies_linked_data/models/ontology_submission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ def download_ontology_file
return file, filename
end

def delete_classes_graph
Goo.sparql_data_client.delete_graph(self.id)
end

private

def delete_and_append(triples_file_path, logger, mime_type = nil)
Expand Down

0 comments on commit 4343ed3

Please sign in to comment.