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 Jun 26, 2024
2 parents 99a0e9e + 5d83b90 commit 20305a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/Http/Controllers/EditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ public function edit(Video $video, Request $request)
$backend = new EditPackage($video);
$backend->sendBackend($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
3 changes: 1 addition & 2 deletions app/Http/Controllers/TestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ class TestController extends Controller
{
public function test()
{
//return view('modals.disclamer');
phpinfo();
//phpinfo();
}

public function server()
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Store/DownloadStreamResolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DownloadStreamResolution extends Model

public function __construct(Video $video)
{
$this->video_streams = Stream::where('video_id',$video->id)->get();
$this->video_streams = Stream::where('video_id', $video->id)->where('hidden', 0)->get();
}

public function videonames($resolution)
Expand Down

0 comments on commit 20305a8

Please sign in to comment.