diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-10-27 09:24:34 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-10-27 09:24:34 +0000 |
commit | f593f18131d6a0cbf30b558b208e86b9fc957f13 (patch) | |
tree | af665d7fb2f7ec17b1948c8d1146dd9a6deaba29 /playlist.php | |
parent | 14019e88c5370df8251b8d9836ea5867b670af1c (diff) | |
download | ampache-f593f18131d6a0cbf30b558b208e86b9fc957f13.tar.gz ampache-f593f18131d6a0cbf30b558b208e86b9fc957f13.tar.bz2 ampache-f593f18131d6a0cbf30b558b208e86b9fc957f13.zip |
Commit, still no internet paying for it.. curse you free.fr
Diffstat (limited to 'playlist.php')
-rw-r--r-- | playlist.php | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/playlist.php b/playlist.php index ca911176..54c94752 100644 --- a/playlist.php +++ b/playlist.php @@ -65,23 +65,10 @@ switch ($_REQUEST['action']) { $playlist->remove_songs($_REQUEST['song']); show_playlist($playlist); break; - case 'update_playlist': - /* Make sure they've got thems rights */ - if (!$playlist->has_access()) { - access_denied(); - break; - } - - $playlist->update_type($_REQUEST['type']); - $playlist->update_name($_REQUEST['playlist_name']); - $url = conf('web_path') . '/playlist.php?action=show_playlist&playlist_id=' . $playlist->id; - $title = _('Playlist Updated'); - $body = "$playlist->name " . _('has been updated and is now') . " $playlist->type"; - show_confirmation($title,$body,$url); - break; case 'show_playlist': $playlist = new Playlist($_REQUEST['playlist_id']); $playlist->format(); + $object_ids = $playlist->get_items(); require_once Config::get('prefix') . '/templates/show_playlist.inc.php'; break; case 'show_import_playlist': |