[ticket/14285] Remove session management stuff since is already on app.php

PHPBB3-14285
This commit is contained in:
Rubén Calvo 2018-09-23 23:47:53 +02:00 committed by rubencm
parent ff7c44165d
commit 71403a216e

View file

@ -84,10 +84,7 @@ class attachment extends controller
$attach_id = (int) $id;
$thumbnail = $this->request->variable('t', false);
// Start session management, do not update session page.
$this->user->session_begin(false);
$this->auth->acl($this->user->data);
$this->user->setup('viewtopic');
$this->user->add_lang('viewtopic');
if (!$this->config['allow_attachments'] && !$this->config['allow_pm_attach'])
{