mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14285] Remove session management stuff since is already on app.php
PHPBB3-14285
This commit is contained in:
@@ -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'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user