mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit 1752d1efd4
.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Listeners\MarkNotificationsRead;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
@@ -14,15 +15,7 @@ class EventServiceProvider extends ServiceProvider
|
||||
protected $listen = [
|
||||
\Illuminate\Auth\Events\Login::class => ['App\Listeners\AuthEventListener@login'],
|
||||
\Illuminate\Auth\Events\Logout::class => ['App\Listeners\AuthEventListener@logout'],
|
||||
\App\Events\UserCreated::class => [
|
||||
\App\Listeners\MarkNotificationsRead::class,
|
||||
],
|
||||
\App\Events\PollingDevice::class => [
|
||||
],
|
||||
\App\Events\DevicePolled::class => [
|
||||
\App\Listeners\CheckAlerts::class,
|
||||
\App\Listeners\UpdateDeviceGroups::class,
|
||||
],
|
||||
\App\Events\UserCreated::class => [MarkNotificationsRead::class],
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user