Code cleanup
This commit is contained in:
parent
79ce7b572c
commit
05916a4d26
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue