mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 15:43:59 +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
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of Flarum.
|
* This file is part of Flarum.
|
||||||
*
|
*
|
||||||
|
|
|
@ -16,7 +16,6 @@ use Flarum\User\AssertPermissionTrait;
|
||||||
use Flarum\User\AvatarUploader;
|
use Flarum\User\AvatarUploader;
|
||||||
use Flarum\User\Event\AvatarDeleting;
|
use Flarum\User\Event\AvatarDeleting;
|
||||||
use Flarum\User\UserRepository;
|
use Flarum\User\UserRepository;
|
||||||
use Flarum\Event\AvatarWillBeDeleted;
|
|
||||||
use Illuminate\Contracts\Events\Dispatcher;
|
use Illuminate\Contracts\Events\Dispatcher;
|
||||||
|
|
||||||
class DeleteAvatarHandler
|
class DeleteAvatarHandler
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
namespace Flarum\User\Command;
|
namespace Flarum\User\Command;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Flarum\User\AvatarUploader;
|
|
||||||
use Flarum\Foundation\DispatchEventsTrait;
|
use Flarum\Foundation\DispatchEventsTrait;
|
||||||
use Flarum\User\AssertPermissionTrait;
|
use Flarum\User\AssertPermissionTrait;
|
||||||
|
use Flarum\User\AvatarUploader;
|
||||||
use Flarum\User\Event\GroupsChanged;
|
use Flarum\User\Event\GroupsChanged;
|
||||||
use Flarum\User\Event\Saving;
|
use Flarum\User\Event\Saving;
|
||||||
use Flarum\User\User;
|
use Flarum\User\User;
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
namespace Flarum\User\Command;
|
namespace Flarum\User\Command;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Flarum\User\AvatarUploader;
|
|
||||||
use Flarum\Foundation\DispatchEventsTrait;
|
use Flarum\Foundation\DispatchEventsTrait;
|
||||||
use Flarum\Settings\SettingsRepositoryInterface;
|
use Flarum\Settings\SettingsRepositoryInterface;
|
||||||
use Flarum\User\AssertPermissionTrait;
|
use Flarum\User\AssertPermissionTrait;
|
||||||
use Flarum\User\AuthToken;
|
use Flarum\User\AuthToken;
|
||||||
|
use Flarum\User\AvatarUploader;
|
||||||
use Flarum\User\Event\Saving;
|
use Flarum\User\Event\Saving;
|
||||||
use Flarum\User\Exception\PermissionDeniedException;
|
use Flarum\User\Exception\PermissionDeniedException;
|
||||||
use Flarum\User\User;
|
use Flarum\User\User;
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
namespace Flarum\User\Listener;
|
namespace Flarum\User\Listener;
|
||||||
|
|
||||||
|
use Flarum\User\Event\Saving;
|
||||||
use Flarum\User\Exception\PermissionDeniedException;
|
use Flarum\User\Exception\PermissionDeniedException;
|
||||||
use Flarum\Group\Group;
|
use Flarum\Group\Group;
|
||||||
use Flarum\User\Event\Saving;
|
|
||||||
use Illuminate\Contracts\Events\Dispatcher;
|
use Illuminate\Contracts\Events\Dispatcher;
|
||||||
|
|
||||||
class SelfDemotionGuard
|
class SelfDemotionGuard
|
||||||
|
|
Loading…
Reference in New Issue
Block a user