Browse Source

refactor: 🚚 Rename Cleanup command

IceToast 2 năm trước cách đây
mục cha
commit
0ffb7ccb65
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      app/Console/Commands/CleanupOpenPayments.php
  2. 1 1
      app/Console/Kernel.php

+ 1 - 1
app/Console/Commands/CleanupPayments.php → 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.

+ 1 - 1
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 () {