mead преди 2 месеца
родител
ревизия
54ccc02f7d
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      app/Console/Commands/InitCourseCommand.php

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

@@ -202,8 +202,6 @@ class InitCourseCommand extends Command
             $data = json_decode($data, true);
             foreach ($data['Videos'] as $k => $v) {
                 $sort = $t - $k;
-                dd($sort);
-                dd($v);
                 Video::query()->where('course_id', 'in', $courses)->where('title', $v['name'])->update(['sort' => $sort]);
             }
         }