mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15699] Rewrite acp_storage
PHPBB3-15699
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace phpbb\storage;
|
||||
|
||||
use phpbb\storage\exception\exception;
|
||||
use phpbb\storage\exception\storage_exception;
|
||||
use phpbb\storage\adapter\adapter_interface;
|
||||
|
||||
class file_info
|
||||
@@ -66,7 +66,7 @@ class file_info
|
||||
{
|
||||
if (!method_exists($this->adapter, 'file_' . $name))
|
||||
{
|
||||
throw new exception('STORAGE_METHOD_NOT_IMPLEMENTED');
|
||||
throw new storage_exception('STORAGE_METHOD_NOT_IMPLEMENTED');
|
||||
}
|
||||
|
||||
$this->properties = array_merge($this->properties, call_user_func([$this->adapter, 'file_' . $name], $this->path));
|
||||
|
Reference in New Issue
Block a user