MDL-46561 session: use full session validation in \core\session\manager::session_exists()
This commit is contained in:
@@ -48,9 +48,9 @@ abstract class handler {
|
||||
public abstract function init();
|
||||
|
||||
/**
|
||||
* Check for existing session with id $sid.
|
||||
* Check the backend contains data for this session id.
|
||||
*
|
||||
* Note: this verifies the storage backend only, not the actual session records.
|
||||
* Note: this is intended to be called from manager::session_exists() only.
|
||||
*
|
||||
* @param string $sid
|
||||
* @return bool true if session found.
|
||||
|
||||
Reference in New Issue
Block a user