From 0ffb7ccb654c4793b7868d53f78aa2cdfc078c37 Mon Sep 17 00:00:00 2001 From: IceToast Date: Thu, 2 Feb 2023 23:21:52 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=9A=9A=20Rename=20Cleanup=20c?= =?UTF-8?q?ommand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Commands/{CleanupPayments.php => CleanupOpenPayments.php} | 2 +- app/Console/Kernel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/Console/Commands/{CleanupPayments.php => CleanupOpenPayments.php} (95%) diff --git a/app/Console/Commands/CleanupPayments.php b/app/Console/Commands/CleanupOpenPayments.php similarity index 95% rename from app/Console/Commands/CleanupPayments.php rename to app/Console/Commands/CleanupOpenPayments.php index eca142a8..31510b6a 100644 --- a/app/Console/Commands/CleanupPayments.php +++ b/app/Console/Commands/CleanupOpenPayments.php @@ -12,7 +12,7 @@ class CleanupPayments extends Command * * @var string */ - protected $signature = 'payments:clear'; + protected $signature = 'payments:open:clear'; /** * The console command description. diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index ac055581..28d1d36a 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -18,7 +18,7 @@ class Kernel extends ConsoleKernel { $schedule->command('credits:charge')->hourly(); $schedule->command('cp:versioncheck:get')->daily(); - $schedule->command('payments:clear')->daily(); + $schedule->command('payments:open:clear')->daily(); //log cronjob activity $schedule->call(function () {