mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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;
|
$attach_id = (int) $id;
|
||||||
$thumbnail = $this->request->variable('t', false);
|
$thumbnail = $this->request->variable('t', false);
|
||||||
|
|
||||||
// Start session management, do not update session page.
|
$this->user->add_lang('viewtopic');
|
||||||
$this->user->session_begin(false);
|
|
||||||
$this->auth->acl($this->user->data);
|
|
||||||
$this->user->setup('viewtopic');
|
|
||||||
|
|
||||||
if (!$this->config['allow_attachments'] && !$this->config['allow_pm_attach'])
|
if (!$this->config['allow_attachments'] && !$this->config['allow_pm_attach'])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user