summaryrefslogtreecommitdiff
path: root/app/services/issuable/common_system_notes_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/issuable/common_system_notes_service.rb')
-rw-r--r--app/services/issuable/common_system_notes_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issuable/common_system_notes_service.rb b/app/services/issuable/common_system_notes_service.rb
index aedd0c377c6..38050708fc5 100644
--- a/app/services/issuable/common_system_notes_service.rb
+++ b/app/services/issuable/common_system_notes_service.rb
@@ -9,7 +9,7 @@ module Issuable
# We disable touch so that created system notes do not update
# the noteable's updated_at field
- ActiveRecord::Base.no_touching do
+ ApplicationRecord.no_touching do
if is_update
if issuable.previous_changes.include?('title')
create_title_change_note(issuable.previous_changes['title'].first)