Plugins: Replace CDN class with FS CDN type (#113968)
replace cdn class with fs type
This commit is contained in:
@@ -496,7 +496,7 @@ func (p *Plugin) IsCorePlugin() bool {
|
||||
}
|
||||
|
||||
func (p *Plugin) IsExternalPlugin() bool {
|
||||
return !p.IsCorePlugin()
|
||||
return p.Class == ClassExternal
|
||||
}
|
||||
|
||||
type Class string
|
||||
@@ -504,7 +504,6 @@ type Class string
|
||||
const (
|
||||
ClassCore Class = "core"
|
||||
ClassExternal Class = "external"
|
||||
ClassCDN Class = "cdn"
|
||||
)
|
||||
|
||||
func (c Class) String() string {
|
||||
|
||||
Reference in New Issue
Block a user