mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Change fire() to handle() for Laravel 5.5
This commit is contained in:
parent
4cc7ed9ec7
commit
47ed328f0e
|
@ -65,7 +65,7 @@ class ObjectImportCommand extends Command
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function fire()
|
public function handle()
|
||||||
{
|
{
|
||||||
$filename = $this->argument('filename');
|
$filename = $this->argument('filename');
|
||||||
$class = title_case($this->option('item-type'));
|
$class = title_case($this->option('item-type'));
|
||||||
|
|
|
@ -42,7 +42,7 @@ class SendExpectedCheckinAlerts extends Command
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function fire()
|
public function handle()
|
||||||
{
|
{
|
||||||
$settings = Setting::getSettings();
|
$settings = Setting::getSettings();
|
||||||
$whenNotify = Carbon::now()->addDays(7);
|
$whenNotify = Carbon::now()->addDays(7);
|
||||||
|
|
|
@ -43,7 +43,7 @@ class SendExpirationAlerts extends Command
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function fire()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
|
||||||
$settings = Setting::getSettings();
|
$settings = Setting::getSettings();
|
||||||
|
|
|
@ -36,7 +36,7 @@ class SystemBackup extends Command
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function fire()
|
public function handle()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
$this->call('backup:run');
|
$this->call('backup:run');
|
||||||
|
|
Loading…
Reference in a new issue