Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Disable notifications for user in the bsae copy service

Oliver Günther70cf07cc2039
diff --git a/app/services/base_services/copy.rb b/app/services/base_services/copy.rb
index 9bf5b1571fd..ebab168e1e4 100644
--- a/app/services/base_services/copy.rb
+++ b/app/services/base_services/copy.rb
@@ -62,6 +62,12 @@ module BaseServices
protected
+ ##
+ # Disabling sending regular notifications
+ def service_context(&block)
+ in_context(model, false, &block)
+ end
+
##
# Should the dependency be skipped for this service run?
def skip_dependency?(_params, _dependency_cls)