chore: commit workspace updates
This commit is contained in:
1 parent
01a2d171f5
commit
9727656b2b
491 files changed
+12826
-72249
No files matched your search
@@ -50,13 +50,6 @@ func (h platformHost) AppendAudit(actor *model.User, action, targetType, targetI
|
||||
return h.svc.appendAdminAudit(actor, action, targetType, targetID, summary, metadata)
|
||||
}
|
||||
|
||||
func (h platformHost) DesktopLocalChannelsEnabled() bool {
|
||||
if h.svc == nil {
|
||||
return false
|
||||
}
|
||||
return h.svc.DesktopLocalChannelsEnabled()
|
||||
}
|
||||
|
||||
func (h platformHost) ChannelConcurrencyLimit(channelID string) (int, error) {
|
||||
if h.svc == nil {
|
||||
return 0, nil
|
||||
@@ -214,13 +207,6 @@ func publicFeatureAvailability(setting *model.SystemSetting, value FeatureAvaila
|
||||
return platform.ProjectFeatureAvailability(setting, value)
|
||||
}
|
||||
|
||||
func (s *Service) withRuntimeCapabilities(result *PublicFeatureAvailability) *PublicFeatureAvailability {
|
||||
if result != nil {
|
||||
result.DesktopLocalChannelsEnabled = s.DesktopLocalChannelsEnabled()
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
func selfUseRuntimePolicy() RuntimePolicySetting { return platform.SelfUseRuntimePolicy() }
|
||||
func validateRuntimePolicy(value RuntimePolicySetting) error {
|
||||
return platform.ValidateRuntimePolicy(value)
|
||||
|
||||
Reference in new issue
Block a user