mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 13:36:10 +08:00
satisfying sci isnt enough for it, lets please it further
This commit is contained in:
parent
e9bb7b14f4
commit
b0974d72f5
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
|
|
|
@ -16,7 +16,6 @@ use Flarum\User\AssertPermissionTrait;
|
|||
use Flarum\User\AvatarUploader;
|
||||
use Flarum\User\Event\AvatarDeleting;
|
||||
use Flarum\User\UserRepository;
|
||||
use Flarum\Event\AvatarWillBeDeleted;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
class DeleteAvatarHandler
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
namespace Flarum\User\Command;
|
||||
|
||||
use Exception;
|
||||
use Flarum\User\AvatarUploader;
|
||||
use Flarum\Foundation\DispatchEventsTrait;
|
||||
use Flarum\User\AssertPermissionTrait;
|
||||
use Flarum\User\AvatarUploader;
|
||||
use Flarum\User\Event\GroupsChanged;
|
||||
use Flarum\User\Event\Saving;
|
||||
use Flarum\User\User;
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
namespace Flarum\User\Command;
|
||||
|
||||
use Exception;
|
||||
use Flarum\User\AvatarUploader;
|
||||
use Flarum\Foundation\DispatchEventsTrait;
|
||||
use Flarum\Settings\SettingsRepositoryInterface;
|
||||
use Flarum\User\AssertPermissionTrait;
|
||||
use Flarum\User\AuthToken;
|
||||
use Flarum\User\AvatarUploader;
|
||||
use Flarum\User\Event\Saving;
|
||||
use Flarum\User\Exception\PermissionDeniedException;
|
||||
use Flarum\User\User;
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
namespace Flarum\User\Listener;
|
||||
|
||||
use Flarum\User\Event\Saving;
|
||||
use Flarum\User\Exception\PermissionDeniedException;
|
||||
use Flarum\Group\Group;
|
||||
use Flarum\User\Event\Saving;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
class SelfDemotionGuard
|
||||
|
|
Loading…
Reference in New Issue
Block a user