mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Change Browse from static to instantiable. Among other things, fixes FS#13;
probably also breaks things. Most things appear to still work, but I may have missed some cases.
This commit is contained in:
parent
c1ed41a16d
commit
7f36693353
39 changed files with 754 additions and 673 deletions
|
@ -36,10 +36,12 @@ switch ($_REQUEST['action']) {
|
|||
|
||||
$object_ids = $playlist->get_items();
|
||||
ob_start();
|
||||
Browse::set_type('playlist_song');
|
||||
Browse::add_supplemental_object('playlist',$playlist->id);
|
||||
Browse::save_objects($object_ids);
|
||||
Browse::show_objects($object_ids);
|
||||
$browse = new Browse();
|
||||
$browse->set_type('playlist_song');
|
||||
$browse->add_supplemental_object('playlist',$playlist->id);
|
||||
$browse->save_objects($object_ids);
|
||||
$browse->show_objects($object_ids);
|
||||
$browse->store();
|
||||
$results['browse_content'] = ob_get_clean();
|
||||
break;
|
||||
case 'edit_track':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue