mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:02:45 +08:00
Move ExtensionValidator class to Flarum\Extension namespace
This commit is contained in:
parent
d6954a997a
commit
e1ca9964b2
|
@ -109,7 +109,7 @@ class CoreServiceProvider extends AbstractServiceProvider
|
|||
$events->subscribe('Flarum\Core\Listener\SelfDemotionGuard');
|
||||
$events->subscribe('Flarum\Discussion\DiscussionMetadataUpdater');
|
||||
$events->subscribe('Flarum\User\UserMetadataUpdater');
|
||||
$events->subscribe('Flarum\Core\Listener\ExtensionValidator');
|
||||
$events->subscribe('Flarum\Extension\DefaultLanguagePackGuard');
|
||||
$events->subscribe('Flarum\User\EmailConfirmationMailer');
|
||||
$events->subscribe('Flarum\Discussion\DiscussionRenamedNotifier');
|
||||
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Listener;
|
||||
namespace Flarum\Extension;
|
||||
|
||||
use Flarum\Event\ExtensionWillBeDisabled;
|
||||
use Flarum\Http\Exception\ForbiddenException;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
class ExtensionValidator
|
||||
class DefaultLanguagePackGuard
|
||||
{
|
||||
/**
|
||||
* @param Dispatcher $events
|
Loading…
Reference in New Issue
Block a user