mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 10:50:39 +00:00
Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
This commit is contained in:
@ -209,7 +209,6 @@ func (mp *Provider) SessionGC() {
|
||||
c := mp.connectInit()
|
||||
c.Exec("DELETE from "+TableName+" where session_expiry < ?", time.Now().Unix()-mp.maxlifetime)
|
||||
c.Close()
|
||||
return
|
||||
}
|
||||
|
||||
// SessionAll count values in mysql session
|
||||
|
Reference in New Issue
Block a user