mirror of
https://github.com/flarum/core.git
synced 2025-10-12 07:24:27 +02:00
Extract new Flarum\User namespace
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
namespace Flarum\Core\Command;
|
||||
|
||||
use Flarum\Core\Access\AssertPermissionTrait;
|
||||
use Flarum\Core\Exception\PermissionDeniedException;
|
||||
use Flarum\User\Exception\PermissionDeniedException;
|
||||
use Flarum\Core\Repository\PostRepository;
|
||||
use Flarum\Core\Support\DispatchEventsTrait;
|
||||
use Flarum\Event\PostWillBeDeleted;
|
||||
@@ -41,7 +41,7 @@ class DeletePostHandler
|
||||
/**
|
||||
* @param DeletePost $command
|
||||
* @return \Flarum\Core\Post
|
||||
* @throws PermissionDeniedException
|
||||
* @throws \Flarum\User\Exception\PermissionDeniedException
|
||||
*/
|
||||
public function handle(DeletePost $command)
|
||||
{
|
||||
|
Reference in New Issue
Block a user