浏览代码

refactor: 🚚 Rename Cleanup command

IceToast 2 年之前
父节点
当前提交
0ffb7ccb65
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 () {