Good bye Dispatcher, Hello registerSchedule()
This commit is contained in:
parent
9d649ebb1e
commit
c8e23699c8
15
UPGRADE.md
15
UPGRADE.md
|
|
@ -21,6 +21,17 @@
|
|||
|
||||
*SPAWN* means to create a file using the git source.
|
||||
|
||||
### Cron job changes
|
||||
|
||||
Remove old cron jobs:
|
||||
|
||||
* * * * * php /path/to/artisan queue:cron 1>> /dev/null 2>&1
|
||||
* * * * * php /path/to/artisan scheduled:run 1>> /dev/null 2>&1
|
||||
|
||||
Add new cron job:
|
||||
|
||||
* * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1
|
||||
|
||||
### Clean up
|
||||
|
||||
Optional things you can delete, if they do not contain anything custom.
|
||||
|
|
@ -38,6 +49,10 @@ Optional things you can delete, if they do not contain anything custom.
|
|||
|
||||
### Breaking code changes
|
||||
|
||||
#### Dispatcher has been removed
|
||||
|
||||
Dispatcher functionality is now baked in to Laravel, check the Plugin registration documentation for more information.
|
||||
|
||||
#### Removed PATH_* constants
|
||||
|
||||
PATH_APP - use app_path()
|
||||
|
|
|
|||
|
|
@ -33,16 +33,9 @@ return [
|
|||
'October\Rain\Filesystem\FilesystemServiceProvider',
|
||||
'October\Rain\Html\HtmlServiceProvider',
|
||||
'October\Rain\Network\NetworkServiceProvider',
|
||||
// 'October\Rain\Translation\TranslationServiceProvider',
|
||||
'October\Rain\Scaffold\ScaffoldServiceProvider',
|
||||
'October\Rain\Flash\FlashServiceProvider',
|
||||
'October\Rain\Mail\MailServiceProvider',
|
||||
'October\Rain\Parse\ParseServiceProvider',
|
||||
|
||||
/*
|
||||
* Vendor providers
|
||||
*/
|
||||
// @todo L5 Dispatcher broken
|
||||
// 'Indatus\Dispatcher\ServiceProvider',
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue