suppresion playlist fin
This commit is contained in:
@@ -22,16 +22,15 @@ class Playlist extends CI_Controller {
|
||||
//$this->load->view('layout/footer_album');
|
||||
}
|
||||
|
||||
public function SongPLaylist($playlist_id){
|
||||
public function SongPlaylist($playlist_id){
|
||||
$songPlaylists = $this->model_music->getSongOfPlaylist($playlist_id);
|
||||
//$this->load->view('layout/header_album');
|
||||
$this->load->view('song_playlist', ['songPlaylists' => $songPlaylists]);
|
||||
//$this->load->view('layout/footer_album');
|
||||
}
|
||||
|
||||
public function deletePlaylist($playlist_id) {
|
||||
$playlists = $this->model_music->deletePlaylist($playlist_id);
|
||||
/*$this->load->view('playlist_list', ['playlists' => $playlists]);*/
|
||||
redirect('playlist/index');
|
||||
public function delete($playlist_id) {
|
||||
$delete = $this->model_music->deletePlaylist($playlist_id);
|
||||
redirect('playlist');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user