Browse Source

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

visuddhinanda 2 years ago
parent
commit
4bec972c4e
1 changed files with 0 additions and 3 deletions
  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){
             foreach ($chapters as $key => $value) {
                 $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);
             }
             return $this->ok(["rows"=>$chapters,"count"=>$all_count]);