[ticket/13422] Deleted event core.session_check_user_session

This commit is contained in:
MasterShredder 2014-12-08 08:50:05 +04:00
parent 1896825f39
commit fda5d8d637

View file

@ -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'];