remove more global refs (#7480)

This commit is contained in:
Chris
2017-09-21 04:13:34 -05:00
committed by George Goldberg
parent adab1a660f
commit 266ff86702
28 changed files with 179 additions and 190 deletions

View File

@@ -23,13 +23,3 @@ type ClusterInterface interface {
GetLogs(page, perPage int) ([]string, *model.AppError)
ConfigChanged(previousConfig *model.Config, newConfig *model.Config, sendToOtherServer bool) *model.AppError
}
var theClusterInterface ClusterInterface
func RegisterClusterInterface(newInterface ClusterInterface) {
theClusterInterface = newInterface
}
func GetClusterInterface() ClusterInterface {
return theClusterInterface
}