From ac042e8dbd824dddf405426d7e2f7da6f3f3c598 Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Tue, 10 Oct 2023 23:41:02 +0200 Subject: [PATCH] remove ontology creation notification because replaced with submission creation --- 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