From: Michael M Slusarz Date: Fri, 10 Jul 2009 22:01:48 +0000 (-0600) Subject: Move IMP_Compose_Exception to its own file X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=832f550a5a595c5d61d21e2723f6e3addefdd363;p=horde.git Move IMP_Compose_Exception to its own file --- diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 6423fcf47..f9bc893d6 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -2553,23 +2553,3 @@ class IMP_Compose return array('sources' => $src, 'fields' => $fields); } } - -class IMP_Compose_Exception extends Horde_Exception -{ - protected $_encrypt = null; - - public function __set($name, $val) - { - if ($name == 'encrypt') { - $this->_encrypt = $val; - } - } - - public function __get($name) - { - if ($name == 'encrypt') { - return $this->_encrypt; - } - } - -} diff --git a/imp/lib/Compose/Exception.php b/imp/lib/Compose/Exception.php new file mode 100644 index 000000000..a5bf87394 --- /dev/null +++ b/imp/lib/Compose/Exception.php @@ -0,0 +1,24 @@ + + * @package IMP + */ +class IMP_Compose_Exception extends Horde_Exception +{ + /** + * Stores information on whether an encryption dialog window needs + * to be opened. + * + * @var string + */ + public $encrypt = null; + +}