Reorganize file util functionality (#7848)

* reorganize file util functionality

* fix api test compilation

* fix rebase issue
Этот коммит содержится в:
Chris
2017-11-16 15:04:27 -06:00
коммит произвёл Jonathan
родитель ef69d93abf
Коммит eb1a00ef5f
22 изменённых файлов: 649 добавлений и 619 удалений

Просмотреть файл

@@ -18,13 +18,3 @@ type ElasticsearchInterface interface {
PurgeIndexes() *model.AppError
DataRetentionDeleteIndexes(cutoff time.Time) *model.AppError
}
var theElasticsearchInterface ElasticsearchInterface
func RegisterElasticsearchInterface(newInterface ElasticsearchInterface) {
theElasticsearchInterface = newInterface
}
func GetElasticsearchInterface() ElasticsearchInterface {
return theElasticsearchInterface
}