Selaa lähdekoodia

:fire: Log::error('no key'.$progress_key);

visuddhinanda 2 vuotta sitten
vanhempi
sitoutus
4bec972c4e
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 3
      app/Http/Controllers/PaliTextController.php

+ 0 - 3
app/Http/Controllers/PaliTextController.php

@@ -200,9 +200,6 @@ class PaliTextController extends Controller
         if($chapters){
         if($chapters){
             foreach ($chapters as $key => $value) {
             foreach ($chapters as $key => $value) {
                 $progress_key="/chapter_dynamic/{$value->book}/{$value->paragraph}/global";
                 $progress_key="/chapter_dynamic/{$value->book}/{$value->paragraph}/global";
-                if(!Cache::has($progress_key)){
-                    Log::error('no key'.$progress_key);
-                }
                 $chapters[$key]->progress_line = Cache::get($progress_key);
                 $chapters[$key]->progress_line = Cache::get($progress_key);
             }
             }
             return $this->ok(["rows"=>$chapters,"count"=>$all_count]);
             return $this->ok(["rows"=>$chapters,"count"=>$all_count]);