try {
$ACLDriver = &IMP_IMAP_ACL::singleton();
-} catch (Exception $e) {
+} catch (Horde_Exception $e) {
$notification->push($error, _("This server does not support sharing folders."));
header('Location: ' . $prefs_url);
exit;
protected function __construct()
{
if ($_SESSION['imp']['protocol'] != 'imap') {
- throw new Exception(_("ACL requires an IMAP server."));
+ throw new Horde_Exception(_("ACL requires an IMAP server."));
}
$capability = $GLOBALS['imp_imap']->ob->queryCapability('ACL');
if (!$capability) {
- throw new Exception(_("IMAP server does not support ACLs."));
+ throw new Horde_Exception(_("IMAP server does not support ACLs."));
}
$rfc4314 = $GLOBALS['imp_imap']->ob->queryCapability('RIGHTS');