aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2015-07-17 23:03:19 +0200
committerjaviexin <javiexin@gmail.com>2015-07-17 23:03:19 +0200
commit11256cd1679f5764548976455cc89c10d8b1b48f (patch)
tree995df472fe167eefda09d23573c60132262ce9f6 /phpBB/phpbb/avatar
parent4d3188ba57ae59c1f1f2eec8f5f70b8e1477c1af (diff)
downloadforums-11256cd1679f5764548976455cc89c10d8b1b48f.tar
forums-11256cd1679f5764548976455cc89c10d8b1b48f.tar.gz
forums-11256cd1679f5764548976455cc89c10d8b1b48f.tar.bz2
forums-11256cd1679f5764548976455cc89c10d8b1b48f.tar.xz
forums-11256cd1679f5764548976455cc89c10d8b1b48f.zip
[ticket/13981] Add events to capture avatar deletion or overwriting
An event to capture overwriting, and another to capture deletion. Includes better error processing. Replaced global by dependency injection. Fix typo. PHPBB3-13981
Diffstat (limited to 'phpBB/phpbb/avatar')
-rw-r--r--phpBB/phpbb/avatar/driver/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php
index 05a52cd222..2393b4ed94 100644
--- a/phpBB/phpbb/avatar/driver/upload.php
+++ b/phpBB/phpbb/avatar/driver/upload.php
@@ -39,7 +39,7 @@ class upload extends \phpbb\avatar\driver\driver
* @param \phpbb\event\dispatcher_interface $dispatcher phpBB Event dispatcher object
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
*/
- public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\mimetype\guesser $mimetype_guesser, \phpbb\cache\driver\driver_interface $dispatcher, \phpbb\cache\driver\driver_interface $cache = null)
+ public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\mimetype\guesser $mimetype_guesser, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\cache\driver\driver_interface $cache = null)
{
$this->config = $config;
$this->phpbb_root_path = $phpbb_root_path;