chore: remove cloud storage remainings (#1934)
This commit is contained in:
parent
0e6b0da142
commit
703a8e5856
33 changed files with 50 additions and 3571 deletions
|
@ -122,10 +122,6 @@ class LibraryController extends Zend_Controller_Action
|
|||
// $menu["publish"] = array("name"=> _("Publish..."), "url" => $baseUrl."library/publish/id/{$id}");
|
||||
}
|
||||
|
||||
// It's important that we always return the parent id (cc_files id)
|
||||
// and not the cloud_file id (if applicable) for track download.
|
||||
// Our application logic (StoredFile.php) will determine if the track
|
||||
// is a cloud_file and handle it appropriately.
|
||||
$url = $baseUrl . "api/get-media/file/{$id}/download/true";
|
||||
$menu['download'] = ['name' => _('Download'), 'icon' => 'download', 'url' => $url];
|
||||
} elseif ($type === 'playlist' || $type === 'block') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue