mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/14285] Remove session management stuff since is already on app.php
PHPBB3-14285
This commit is contained in:
parent
ff7c44165d
commit
71403a216e
1 changed files with 1 additions and 4 deletions
|
@ -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'])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue