1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-30 22:04:14 +00:00

fix #533 change the function name

This commit is contained in:
asta.xie 2014-03-21 14:24:00 +08:00
parent 589f97130c
commit c921b0aa5d

View File

@ -173,7 +173,7 @@ func (manager *Manager) SessionDestroy(w http.ResponseWriter, r *http.Request) {
} }
// Get SessionStore by its id. // Get SessionStore by its id.
func (manager *Manager) GetProvider(sid string) (sessions SessionStore, err error) { func (manager *Manager) GetSessionStore(sid string) (sessions SessionStore, err error) {
sessions, err = manager.provider.SessionRead(sid) sessions, err = manager.provider.SessionRead(sid)
return return
} }