25 lines
505 B
Ruby
25 lines
505 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module ImportExport
|
|
module AfterExportStrategies
|
|
class DownloadNotificationStrategy < BaseAfterExportStrategy
|
|
protected
|
|
|
|
def delete_export?
|
|
false
|
|
end
|
|
|
|
private
|
|
|
|
def strategy_execute
|
|
notification_service.project_exported(project, current_user)
|
|
end
|
|
|
|
def notification_service
|
|
@notification_service ||= NotificationService.new
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|