Added remove button for station logo on preferences page

This commit is contained in:
Duncan Sommerville 2015-02-24 12:12:30 -05:00
parent 69d588d2f6
commit 5e256df061
5 changed files with 31 additions and 7 deletions

View file

@ -146,6 +146,15 @@ class PreferenceController extends Zend_Controller_Action
$this->view->form = $watched_dirs_pref;
}
public function removeLogoAction()
{
$this->view->layout()->disableLayout();
// Remove reliance on .phtml files to render requests
$this->_helper->viewRenderer->setNoRender(true);
Application_Model_Preference::SetStationLogo("");
}
public function streamSettingAction()
{
$CC_CONFIG = Config::getConfig();