Skip to content

Commit

Permalink
match original API
Browse files Browse the repository at this point in the history
This is probably just as BC breaking as now we are throwing an Exception
where before a PHP fatal error was being thrown. But it does match the API
correctly, and I admittedly am the one who demands that is the
documentation that makes up the API, not the data returned.
  • Loading branch information
slusarz authored and mrubinsk committed Nov 14, 2013
1 parent a338031 commit a58b3b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions framework/Crypt/lib/Horde/Crypt/Pgp.php
Expand Up @@ -1483,4 +1483,12 @@ public function getPublicKeyFromPrivateKey($data)
: $result->output;
}

/**
* @deprecated
*/
public function generateRevocation($key, $email, $passphrase)
{
throw new Horde_Crypt_Exception('Not supported');
}

}

0 comments on commit a58b3b3

Please sign in to comment.