Hide My Podcasts feature

This commit is contained in:
jo 2021-09-06 14:40:40 +02:00
parent 1d33c037e3
commit 0c4a294265
2 changed files with 13 additions and 9 deletions

View file

@ -119,7 +119,9 @@ class LibraryController extends Zend_Controller_Action
if ($isAdminOrPM || $file->getFileOwnerId() == $user->getId()) {
$menu["del"] = array("name"=> _("Delete"), "icon" => "delete", "url" => $baseUrl."library/delete");
$menu["edit"] = array("name"=> _("Edit..."), "icon" => "edit", "url" => $baseUrl."library/edit-file-md/id/{$id}");
$menu["publish"] = array("name"=> _("Publish..."), "url" => $baseUrl."library/publish/id/{$id}");
// Disable My podcasts
// See https://github.com/LibreTime/libretime/issues/1320
// $menu["publish"] = array("name"=> _("Publish..."), "url" => $baseUrl."library/publish/id/{$id}");
}
// It's important that we always return the parent id (cc_files id)