cc-2211:changes-to-playlist-not-shown

- removing some codes that aren't used.
- it deletes pl from the right list if the 'delete' button on
the left window is clicked.
This commit is contained in:
James Moon 2011-04-27 14:41:47 -07:00
parent 44d599a00b
commit d9ecb965bb
2 changed files with 4 additions and 2 deletions

View file

@ -173,7 +173,6 @@ class PlaylistController extends Zend_Controller_Action
$this->view->html = $this->view->render('playlist/update.phtml');
$this->view->name = $pl->getName();
$this->view->length = $pl->getLength();
$this->view->pl_id = $pl->getid();
unset($this->view->pl);
return;
@ -219,7 +218,6 @@ class PlaylistController extends Zend_Controller_Action
$this->view->html = $this->view->render('playlist/update.phtml');
$this->view->name = $pl->getName();
$this->view->length = $pl->getLength();
$this->view->pl_id = $pl->getid();
unset($this->view->pl);