CC-84: Smart Playlists
- remove 'add to playlist' option on showbuilder screen
This commit is contained in:
parent
ef994aa449
commit
361e681a59
|
@ -79,7 +79,7 @@ class LibraryController extends Zend_Controller_Action
|
|||
if (!$obj->isStatic()){
|
||||
unset($menu["play"]);
|
||||
}
|
||||
if ($isAdminOrPM || $obj->getCreatorId() == $user->getId()) {
|
||||
if (($isAdminOrPM || $obj->getCreatorId() == $user->getId()) && $screen == "playlist") {
|
||||
if ($this->obj_sess->type === "playlist") {
|
||||
$menu["pl_add"] = array("name"=> "Add to Playlist", "icon" => "add-playlist", "icon" => "copy");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue