From 05916a4d266136e05882da28a9b1bdf8990bd010 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 14 Sep 2012 15:13:08 -0400 Subject: [PATCH] Code cleanup --- airtime_mvc/application/controllers/LibraryController.php | 4 ++-- airtime_mvc/application/models/Webstream.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/airtime_mvc/application/controllers/LibraryController.php b/airtime_mvc/application/controllers/LibraryController.php index d160b600a..e05747200 100644 --- a/airtime_mvc/application/controllers/LibraryController.php +++ b/airtime_mvc/application/controllers/LibraryController.php @@ -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); } diff --git a/airtime_mvc/application/models/Webstream.php b/airtime_mvc/application/models/Webstream.php index 1c483e983..e3f08858a 100644 --- a/airtime_mvc/application/models/Webstream.php +++ b/airtime_mvc/application/models/Webstream.php @@ -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(), ); }