diff options
author | Chris <ccbrown112@gmail.com> | 2018-01-17 12:38:37 -0600 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2018-01-17 13:38:37 -0500 |
commit | 4e6cc846a618ecef5c101727bbd03f6674044ab7 (patch) | |
tree | 1fc093b4b338acf34180c93f30a32de50e17d089 /app/license.go | |
parent | dce061630530c467966378ae3c5adbcf4a09e34f (diff) | |
download | chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.gz chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.bz2 chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.zip |
Finally remove utils.Cfg (#8113)
* finally remove utils.Cfg
* fix compile error
* another test compilation fix
Diffstat (limited to 'app/license.go')
-rw-r--r-- | app/license.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/license.go b/app/license.go index cacc71524..c7fd07197 100644 --- a/app/license.go +++ b/app/license.go @@ -23,7 +23,7 @@ func (a *App) LoadLicense() { if len(licenseId) != 26 { // Lets attempt to load the file from disk since it was missing from the DB - license, licenseBytes := utils.GetAndValidateLicenseFileFromDisk() + license, licenseBytes := utils.GetAndValidateLicenseFileFromDisk(*a.Config().ServiceSettings.LicenseFileLocation) if license != nil { if _, err := a.SaveLicense(licenseBytes); err != nil { |