mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 12:10:38 +00:00
Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
This commit is contained in:
@ -224,7 +224,6 @@ func (mp *Provider) SessionGC() {
|
||||
c := mp.connectInit()
|
||||
c.Exec("DELETE from session where EXTRACT(EPOCH FROM (current_timestamp - session_expiry)) > $1", mp.maxlifetime)
|
||||
c.Close()
|
||||
return
|
||||
}
|
||||
|
||||
// SessionAll count values in postgresql session
|
||||
|
Reference in New Issue
Block a user