Skip to content

Commit

Permalink
Merge branch 'development' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
orkit committed Sep 5, 2024
2 parents 20305a8 + 3e01de9 commit 8cf9c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/EditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function edit(Video $video, Request $request)

//Clear download storage
\Artisan::call('download:clear');

if(count(session('links') ?? []) <= 3) {
return redirect()->route('home')->with('message', __("Processing the update"));
} else {
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public function index(DaisyIntegration $daisy, VisibilityFilter $visibility)
});

// HT2023 Prevoius year courses store in cache
$previous_courses_ht = Cache::remember(app()->make('play_username') . '_previous_ht', $seconds, function () use ($daisy){
/*$previous_courses_ht = Cache::remember(app()->make('play_username') . '_previous_ht', $seconds, function () use ($daisy){
return $daisy->getPreviousYearCoursesHT();
});
});*/

if($this->administrator()) {
//Administrator full visibility
Expand Down

0 comments on commit 8cf9c6d

Please sign in to comment.