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=ff232e5e67a86add361ae205e17b984c08579c3b;p=horde.git Shout: Continue creating the recordings UI --- 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;