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)
{
$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);
$this->createFullResponse(null);
}

View File

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