Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/post_receive_service.rb')
-rw-r--r--app/services/post_receive_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/post_receive_service.rb b/app/services/post_receive_service.rb
index 5ab5732ecf5..7cf1855988e 100644
--- a/app/services/post_receive_service.rb
+++ b/app/services/post_receive_service.rb
@@ -87,14 +87,14 @@ class PostReceiveService
if project
scoped_messages =
- BroadcastMessage.current_banner_messages(current_path: project.full_path).select do |message|
+ System::BroadcastMessage.current_banner_messages(current_path: project.full_path).select do |message|
message.target_path.present? && message.matches_current_path(project.full_path) && message.show_in_cli?
end
banner = scoped_messages.last
end
- banner ||= BroadcastMessage.current_show_in_cli_banner_messages.last
+ banner ||= System::BroadcastMessage.current_show_in_cli_banner_messages.last
banner&.message
end