1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 09:46:14 +02:00

Move more event classes to appropriate namespaces

This commit is contained in:
Franz Liedke
2017-06-25 17:04:33 +02:00
parent 78f3681fc1
commit f824dcfb53
8 changed files with 16 additions and 16 deletions

View File

@@ -12,7 +12,7 @@
namespace Flarum\User\Command;
use Exception;
use Flarum\Event\AvatarWillBeSaved;
use Flarum\User\Event\AvatarSaving;
use Flarum\Foundation\Application;
use Flarum\Foundation\DispatchEventsTrait;
use Flarum\User\AssertPermissionTrait;
@@ -110,7 +110,7 @@ class UploadAvatarHandler
file_put_contents($tmpFile, $encodedImage);
$this->events->fire(
new AvatarWillBeSaved($user, $actor, $tmpFile)
new AvatarSaving($user, $actor, $tmpFile)
);
$mount = new MountManager([