mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/13422] Deleted event core.session_check_user_session
This commit is contained in:
parent
1896825f39
commit
fda5d8d637
1 changed files with 1 additions and 9 deletions
|
@ -215,7 +215,7 @@ class session
|
|||
function session_begin($update_session_page = true)
|
||||
{
|
||||
global $phpEx, $SID, $_SID, $_EXTRA_URL, $db, $config, $phpbb_root_path;
|
||||
global $request, $phpbb_container, $phpbb_dispatcher;
|
||||
global $request, $phpbb_container;
|
||||
|
||||
// Give us some basic information
|
||||
$this->time_now = time();
|
||||
|
@ -372,14 +372,6 @@ class session
|
|||
// Did the session exist in the DB?
|
||||
if (isset($this->data['user_id']))
|
||||
{
|
||||
/**
|
||||
* Event to check user session
|
||||
*
|
||||
* @event core.session_check_user_session
|
||||
* @since 3.1.3-RC1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.session_check_user_session');
|
||||
|
||||
// Validate IP length according to admin ... enforces an IP
|
||||
// check on bots if admin requires this
|
||||
// $quadcheck = ($config['ip_check_bot'] && $this->data['user_type'] & USER_BOT) ? 4 : $config['ip_check'];
|
||||
|
|
Loading…
Add table
Reference in a new issue