summaryrefslogtreecommitdiffstats
path: root/einterfaces/account_migration.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-21 04:13:34 -0500
committerGeorge Goldberg <george@gberg.me>2017-09-21 10:13:34 +0100
commit266ff8670244da288aec937320d9eecc7996af35 (patch)
tree39e4e528cda0abb24be317683516ee246717fc68 /einterfaces/account_migration.go
parentadab1a660fdc0c307238279edc7a9918d14577e5 (diff)
downloadchat-266ff8670244da288aec937320d9eecc7996af35.tar.gz
chat-266ff8670244da288aec937320d9eecc7996af35.tar.bz2
chat-266ff8670244da288aec937320d9eecc7996af35.zip
remove more global refs (#7480)
Diffstat (limited to 'einterfaces/account_migration.go')
-rw-r--r--einterfaces/account_migration.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/einterfaces/account_migration.go b/einterfaces/account_migration.go
index 4c76ad712..0db516d75 100644
--- a/einterfaces/account_migration.go
+++ b/einterfaces/account_migration.go
@@ -8,13 +8,3 @@ import "github.com/mattermost/mattermost-server/model"
type AccountMigrationInterface interface {
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool) *model.AppError
}
-
-var theAccountMigrationInterface AccountMigrationInterface
-
-func RegisterAccountMigrationInterface(newInterface AccountMigrationInterface) {
- theAccountMigrationInterface = newInterface
-}
-
-func GetAccountMigrationInterface() AccountMigrationInterface {
- return theAccountMigrationInterface
-}