Auto update #449 (#545)

* Add custom repository type for updates

* Direct to self update module

* Formatting
This commit is contained in:
Nabeel S
2020-02-10 17:47:46 -05:00
committed by GitHub
parent 3fcd378f91
commit 99118daad9
14 changed files with 281 additions and 49 deletions

View File

@@ -13,8 +13,6 @@ use App\Listeners\UserStateListener;
use App\Notifications\EventHandler;
use Codedge\Updater\Events\UpdateAvailable;
use Codedge\Updater\Events\UpdateSucceeded;
use Codedge\Updater\Listeners\SendUpdateAvailableNotification;
use Codedge\Updater\Listeners\SendUpdateSucceededNotification;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
@@ -38,13 +36,8 @@ class EventServiceProvider extends ServiceProvider
AwardListener::class,
],
UpdateAvailable::class => [
SendUpdateAvailableNotification::class,
],
UpdateSucceeded::class => [
SendUpdateSucceededNotification::class,
],
UpdateAvailable::class => [],
UpdateSucceeded::class => [],
];