diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-06-02 11:48:55 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:27:46 +0200 |
commit | a53825ad760cc8437d8c26eb1f947622c0fcf229 (patch) | |
tree | 62feed6b143c62736d96a50124440dd600534820 /phpBB/phpbb/files/filespec.php | |
parent | eb11973ea8af41623a9e6e6c320cb1fb0df7a222 (diff) | |
download | forums-a53825ad760cc8437d8c26eb1f947622c0fcf229.tar forums-a53825ad760cc8437d8c26eb1f947622c0fcf229.tar.gz forums-a53825ad760cc8437d8c26eb1f947622c0fcf229.tar.bz2 forums-a53825ad760cc8437d8c26eb1f947622c0fcf229.tar.xz forums-a53825ad760cc8437d8c26eb1f947622c0fcf229.zip |
[ticket/13904] No longer use fileerror class for extending filespec class
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files/filespec.php')
-rw-r--r-- | phpBB/phpbb/files/filespec.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/phpbb/files/filespec.php b/phpBB/phpbb/files/filespec.php index 2fdba2d793..d14c9a226d 100644 --- a/phpBB/phpbb/files/filespec.php +++ b/phpBB/phpbb/files/filespec.php @@ -119,6 +119,20 @@ class filespec } /** + * 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 * * @param real|unique|unique_ext $mode real creates a realname, filtering some characters, lowering every character. Unique creates an unique filename |