1
0
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:
Franz Liedke
2017-06-24 12:55:22 +02:00
parent fda8c597f4
commit 564ea8ff73
163 changed files with 405 additions and 394 deletions

View File

@@ -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)
{