Browse Source

:fire: 无用的变量$max=0;

visuddhinanda 3 years ago
parent
commit
bad4a7ca28
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/Console/Commands/UpgradeChapterDynamicWeekly.php

+ 0 - 2
app/Console/Commands/UpgradeChapterDynamicWeekly.php

@@ -59,8 +59,6 @@ class UpgradeChapterDynamicWeekly extends Command
         $chapters = $table->get();
         $bar = $this->output->createProgressBar(count($chapters));
         foreach ($chapters as $key => $chapter) {
-            # code...
-            $max=0;
             #章节长度
             $paraEnd = PaliText::where('book',$chapter->book)
                             ->where('paragraph',$chapter->para)