Removing some unneded FakeApp instance (#14139)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cfe65a33a5
Коммит
9a531fa0fb
@@ -69,8 +69,7 @@ const (
|
||||
)
|
||||
|
||||
func (a *App) FileBackend() (filesstore.FileBackend, *model.AppError) {
|
||||
license := a.License()
|
||||
return filesstore.NewFileBackend(&a.Config().FileSettings, license != nil && *license.Features.Compliance)
|
||||
return a.Srv().FileBackend()
|
||||
}
|
||||
|
||||
func (a *App) ReadFile(path string) ([]byte, *model.AppError) {
|
||||
|
||||
Ссылка в новой задаче
Block a user