From a408b99f618693a97abf061ad34a7525ff99038a Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Wed, 11 Oct 2023 00:34:39 +0200 Subject: [PATCH] remove ontology creation notification because replaced with submission creation (#47) --- controllers/ontologies_controller.rb | 7 ------- 1 file changed, 7 deletions(-) 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