From ff232e5e67a86add361ae205e17b984c08579c3b Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Wed, 17 Mar 2010 12:25:03 -0400 Subject: [PATCH] Shout: Continue creating the recordings UI --- shout/lib/Ajax/Application.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/shout/lib/Ajax/Application.php b/shout/lib/Ajax/Application.php index 9fe31afe0..bb87a376d 100644 --- a/shout/lib/Ajax/Application.php +++ b/shout/lib/Ajax/Application.php @@ -212,6 +212,17 @@ class Shout_Ajax_Application extends Horde_Ajax_Application_Base } } + public function getRecordings() + { + try { + return Shout::getRecordings($_SESSION['shout']['curaccount']); + } catch (Exception $e) { + //FIXME: Create a way to notify the user of the failure. + Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR); + return false; + } + } + public function responseType() { return $this->_responseType; -- 2.11.0