More code for 5.3

This commit is contained in:
James Cole
2016-09-16 07:05:34 +02:00
parent d00fbe4eb3
commit 2f93784acd
7 changed files with 156 additions and 133 deletions

12
app/Providers/EventServiceProvider.php Normal file → Executable file
View File

@@ -16,7 +16,6 @@ use FireflyIII\Models\PiggyBank;
use FireflyIII\Models\PiggyBankRepetition;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionJournal;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Log;
@@ -73,17 +72,18 @@ class EventServiceProvider extends ServiceProvider
];
/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* Register any events for your application.
*
* @return void
*/
public function boot(DispatcherContract $events)
public function boot()
{
parent::boot($events);
parent::boot();
$this->registerDeleteEvents();
$this->registerCreateEvents();
//
}
/**