Code cleanup

This commit is contained in:
Rudi Grinberg 2012-09-14 15:13:08 -04:00
parent 79ce7b572c
commit 05916a4d26
2 changed files with 6 additions and 6 deletions

View File

@ -90,9 +90,9 @@ class LibraryController extends Zend_Controller_Action
protected function playlistNotFound($p_type) protected function playlistNotFound($p_type)
{ {
$this->view->error = "{$p_type} not found"; $this->view->error = "$p_type not found";
Logging::info("{$p_type} not found"); Logging::info("$p_type not found");
Application_Model_Library::changePlaylist(null, $p_type); Application_Model_Library::changePlaylist(null, $p_type);
$this->createFullResponse(null); $this->createFullResponse(null);
} }

View File

@ -78,11 +78,11 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
$username = $subjs->getDbLogin(); $username = $subjs->getDbLogin();
return array( return array(
"name" => $this->webstream->getDbName(), "name" => $this->webstream->getDbName(),
"length" => $this->webstream->getDbLength(), "length" => $this->webstream->getDbLength(),
"description" => $this->webstream->getDbDescription(), "description" => $this->webstream->getDbDescription(),
"login"=> $username, "login" => $username,
"url" => $this->webstream->getDbUrl(), "url" => $this->webstream->getDbUrl(),
); );
} }