diff --git a/controllers/ontologies_controller.rb b/controllers/ontologies_controller.rb index 58518420..70b49602 100644 --- a/controllers/ontologies_controller.rb +++ b/controllers/ontologies_controller.rb @@ -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