2019-02-15 15:39:39 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
module Gitlab
|
|
|
|
module ImportExport
|
|
|
|
module AfterExportStrategies
|
|
|
|
class DownloadNotificationStrategy < BaseAfterExportStrategy
|
|
|
|
private
|
|
|
|
|
|
|
|
def strategy_execute
|
|
|
|
notification_service.project_exported(project, current_user)
|
|
|
|
end
|
|
|
|
|
|
|
|
def notification_service
|
|
|
|
@notification_service ||= NotificationService.new
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|