Пример #1
0
 public function handleWatchedDirMissingAction()
 {
     $request = $this->getRequest();
     $dir = base64_decode($request->getParam('dir'));
     Application_Model_MusicDir::removeWatchedDir($dir, false);
 }
Пример #2
0
 public function removeWatchDirectoryAction()
 {
     $chosen = $this->getRequest()->getParam("dir");
     $dir = Application_Model_MusicDir::removeWatchedDir($chosen);
     $watched_dirs_form = new Application_Form_WatchedDirPreferences();
     $this->view->subform = $watched_dirs_form->render();
 }