Skip to content

Commit

Permalink
added 2.0.9 listener
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Apr 19, 2020
1 parent 5839a84 commit 4202779
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions app/Listeners/Update/V20/Version209.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace App\Listeners\Update\V20;

use App\Abstracts\Listeners\Update as Listener;
use App\Events\Install\UpdateFinished as Event;
use Illuminate\Support\Facades\Artisan;

class Version209 extends Listener
{
const ALIAS = 'core';

const VERSION = '2.0.9';

/**
* Handle the event.
*
* @param $event
* @return void
*/
public function handle(Event $event)
{
if ($this->skipThisUpdate($event)) {
return;
}

Artisan::call('view:clear');
}
}
1 change: 1 addition & 0 deletions app/Providers/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Event extends Provider
'App\Listeners\Update\V20\Version205',
'App\Listeners\Update\V20\Version207',
'App\Listeners\Update\V20\Version208',
'App\Listeners\Update\V20\Version209',
],
'Illuminate\Auth\Events\Login' => [
'App\Listeners\Auth\Login',
Expand Down

0 comments on commit 4202779

Please sign in to comment.