From: Ben Klang Date: Wed, 17 Mar 2010 16:25:03 +0000 (-0400) Subject: Shout: Continue creating the recordings UI X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4abea5e9d767e14ef15da473b921f0159d3c0ede;p=horde.git Shout: Continue creating the recordings UI --- diff --git a/shout/lib/Ajax/Application.php b/shout/lib/Ajax/Application.php index bb87a376d..68c9683cc 100644 --- a/shout/lib/Ajax/Application.php +++ b/shout/lib/Ajax/Application.php @@ -223,6 +223,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;