Forráskód Böngészése

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

visuddhinanda 3 éve
szülő
commit
bad4a7ca28

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

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