mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15286] Fix tests
PHPBB3-15286
This commit is contained in:
@@ -71,11 +71,12 @@ class delete
|
||||
* @param resync $resync
|
||||
* @param storage $storage
|
||||
*/
|
||||
public function __construct(config $config, driver_interface $db, dispatcher $dispatcher, resync $resync, $storage)
|
||||
public function __construct(config $config, driver_interface $db, dispatcher $dispatcher, resync $resync, storage $storage)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->db = $db;
|
||||
$this->dispatcher = $dispatcher;
|
||||
$this->resync = $resync;
|
||||
$this->storage = $storage;
|
||||
}
|
||||
|
||||
@@ -411,7 +412,7 @@ class delete
|
||||
{
|
||||
if ($this->storage->exists($filename))
|
||||
{
|
||||
$this->storage->remove($filename);
|
||||
$this->storage->delete($filename);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user