mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-25 07:37:08 +00:00
ba4ad8960b
removed examples
14 lines
310 B
PHP
14 lines
310 B
PHP
--TEST--n
|
|
delete a key from the keyring
|
|
--SKIPIF--
|
|
<?php if(!class_exists("gnupg")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
require_once(dirname(__FILE__)."/vars.inc");
|
|
$gpg = new gnupg();
|
|
$gpg -> seterrormode(gnupg::ERROR_WARNING);
|
|
$ret = $gpg -> deletekey($fingerprint,true);
|
|
var_dump($ret);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|