Skip to content

Commit

Permalink
[mms] Fix reference to constant outside of the package.
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 17, 2014
1 parent 0a4cbfb commit 224386f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions framework/Crypt/lib/Horde/Crypt/Pgp/Parse.php
Expand Up @@ -57,8 +57,9 @@ class Horde_Crypt_Pgp_Parse
const ARMOR_TEXT = 6;

/**
* Metadata names for signature data.
* Metadata names for data.
*/
const PGP_ARMOR = 'pgp_armor'; /* @since 2.5.0 */
const SIG_CHARSET = 'pgp_sig_charset';
const SIG_RAW = 'pgp_sig_raw';

Expand Down Expand Up @@ -178,7 +179,7 @@ public function parseToPart($text, $charset = 'UTF-8')
case self::ARMOR_MESSAGE:
$part = new Horde_Mime_Part();
$part->setType('multipart/encrypted');
$part->setMetadata(IMP_Mime_Viewer_Pgp::PGP_ARMOR, true);
$part->setMetadata(self::PGP_ARMOR, true);
$part->setContentTypeParameter('protocol', 'application/pgp-encrypted');

$part1 = new Horde_Mime_Part();
Expand Down
12 changes: 6 additions & 6 deletions framework/Crypt/package.xml
Expand Up @@ -18,16 +18,16 @@
</lead>
<date>2014-05-21</date>
<version>
<release>2.4.4</release>
<api>2.4.0</api>
<release>2.5.0</release>
<api>2.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Fix reference to constant outside of the package.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -1024,15 +1024,15 @@ Initial release as a PEAR package
</release>
<release>
<version>
<release>2.4.4</release>
<api>2.4.0</api></version>
<release>2.5.0</release>
<api>2.5.0</api></version>
<stability>
<release>stable</release>
<api>stable</api></stability>
<date>2014-05-21</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Fix reference to constant outside of the package.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 224386f

Please sign in to comment.