2020-09-16 14:09:47 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Placeholder class for model that is implemented in EE
|
|
|
|
# It reserves '+' as a reference prefix, but the table does not exist in FOSS
|
|
|
|
class Vulnerability < ApplicationRecord
|
|
|
|
include IgnorableColumns
|
|
|
|
|
2020-10-08 08:08:31 -04:00
|
|
|
def self.link_reference_pattern
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
2020-09-16 14:09:47 -04:00
|
|
|
def self.reference_prefix
|
|
|
|
'+'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_prefix_escaped
|
|
|
|
'+'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
Vulnerability.prepend_if_ee('EE::Vulnerability')
|