1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/15286] Fix tests

PHPBB3-15286
This commit is contained in:
Rubén Calvo
2017-08-09 14:22:03 +02:00
parent e749e06042
commit e564ca6e60
4 changed files with 28 additions and 20 deletions

View File

@@ -158,7 +158,6 @@ function send_file_to_browser($attachment, $category)
$size = 0;
}
/**
* Event to alter attachment before it is sent to browser.
*

View File

@@ -293,7 +293,7 @@ class upload
$this->file_data['error'][] = $this->language->lang('ATTACH_QUOTA_REACHED');
$this->file_data['post_attach'] = false;
$this->file->remove();
$this->file->remove($this->storage);
return false;
}

View File

@@ -19,7 +19,7 @@ use phpbb\files\filespec;
use phpbb\language\language;
use phpbb\request\request_interface;
class local extends base
class local_storage extends base
{
/** @var factory Files factory */
protected $factory;