mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-22 08:13:14 +02:00
[ticket/13904] No longer use fileerror class for extending filespec class
PHPBB3-13904
This commit is contained in:
@@ -118,6 +118,20 @@ class filespec
|
||||
return !isset($this->filename);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set error in error array
|
||||
*
|
||||
* @param mixed $error Content for error array
|
||||
*
|
||||
* @return \phpbb\files\filespec This instance of the filespec class
|
||||
*/
|
||||
public function set_error($error)
|
||||
{
|
||||
$this->error[] = $error;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cleans destination filename
|
||||
*
|
||||
|
Reference in New Issue
Block a user