mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
refactor: newline after statement
This commit is contained in:
@@ -94,6 +94,7 @@ class PlaylistController extends Controller
|
||||
->withInput()
|
||||
->withErrors($v->errors());
|
||||
}
|
||||
|
||||
$playlist->save();
|
||||
// Announce To Shoutbox
|
||||
$appurl = \config('app.url');
|
||||
@@ -127,6 +128,7 @@ class PlaylistController extends Controller
|
||||
if ($torrent->category->tv_meta && ($torrent->tmdb || $torrent->tmdb != 0)) {
|
||||
$meta = Tv::with('genres', 'networks', 'seasons')->where('id', '=', $torrent->tmdb)->first();
|
||||
}
|
||||
|
||||
if ($torrent->category->movie_meta && ($torrent->tmdb || $torrent->tmdb != 0)) {
|
||||
$meta = Movie::with('genres', 'cast', 'companies', 'collection')->where('id', '=', $torrent->tmdb)->first();
|
||||
}
|
||||
@@ -201,6 +203,7 @@ class PlaylistController extends Controller
|
||||
->withInput()
|
||||
->withErrors($v->errors());
|
||||
}
|
||||
|
||||
$playlist->save();
|
||||
|
||||
return \redirect()->route('playlists.show', ['id' => $playlist->id])
|
||||
|
||||
Reference in New Issue
Block a user