Remove more global refs / state (#7723)
* remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
a0bfd2885d
Коммит
7ed011745a
@@ -292,7 +292,7 @@ func getInitialLoad(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
il.TeamMembers = c.Session.TeamMembers
|
||||
}
|
||||
|
||||
if app.SessionCacheLength() == 0 {
|
||||
if c.App.SessionCacheLength() == 0 {
|
||||
// Below is a special case when intializating a new server
|
||||
// Lets check to make sure the server is really empty
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user