1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[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.

PHPBB3-13981
This commit is contained in:
javiexin
2015-07-17 19:40:33 +02:00
parent 4b54df8d45
commit 4d3188ba57
2 changed files with 11 additions and 6 deletions

View File

@@ -60,6 +60,7 @@ services:
- %core.php_ext%
- @path_helper
- @mimetype.guesser
- @dispatcher
- @cache.driver
calls:
- [set_name, [avatar.driver.upload]]