diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-11 07:24:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-11 07:24:24 +0000 |
commit | 591ca8e918bd59cff7301df830e86d2633c8b84a (patch) | |
tree | 47041851a442b0dee74e446f232a34068c170c1b /democratic.php | |
parent | 7c8a11684d9de33fa0b7ed54fd59fd7cf2745911 (diff) | |
download | ampache-591ca8e918bd59cff7301df830e86d2633c8b84a.tar.gz ampache-591ca8e918bd59cff7301df830e86d2633c8b84a.tar.bz2 ampache-591ca8e918bd59cff7301df830e86d2633c8b84a.zip |
almost done cleaning up the democratic play mojo
Diffstat (limited to 'democratic.php')
-rw-r--r-- | democratic.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/democratic.php b/democratic.php index ec7c7fcc..04755def 100644 --- a/democratic.php +++ b/democratic.php @@ -79,30 +79,6 @@ switch ($_REQUEST['action']) { $songs = $tmp_playlist->get_items(); require_once(conf('prefix') . '/templates/show_tv.inc.php'); break; - /* This clears the entire democratic playlist, admin only */ - case 'clear_playlist': - if (!$GLOBALS['user']->has_access(100)) { - access_denied(); - break; - } - - $tmp_playlist = new tmpPlaylist($_REQUEST['tmp_playlist_id']); - $tmp_playlist->clear_playlist(); - require_once(conf('prefix') . '/templates/header.inc'); - show_confirmation(_('Playlist Cleared'),'',conf('web_path') . '/tv.php'); - require_once(conf('prefix') . '/templates/footer.inc'); - break; - /* This sends the playlist to the 'method' of their chosing */ - case 'send_playlist': - /* Only Admins Here */ - if (!$GLOBALS['user']->has_access(100)) { - access_denied(); - break; - } - // Tmp just to make this work - header("Location: " . Config::get('web_path') . "/stream.php?action=democratic"); - exit; - break; case 'manage_playlists': if (!Access::check('interface','75')) { access_denied(); |