Skip to content

Commit

Permalink
remove ontology creation notification because replaced with submissio…
Browse files Browse the repository at this point in the history
…n creation
  • Loading branch information
syphax-bouazzouni committed Oct 10, 2023
1 parent 801b693 commit ac042e8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions controllers/ontologies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,6 @@ def create_ontology

if ont.valid?
ont.save
# Send an email to the administrator to warn him about the newly created ontology
begin
if !LinkedData.settings.admin_emails.nil? && !LinkedData.settings.admin_emails.empty?
LinkedData::Utils::Notifications.new_ontology(ont)
end
rescue Exception => e
end
else
error 422, ont.errors
end
Expand Down

0 comments on commit ac042e8

Please sign in to comment.