mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-12-23 02:11:40 +00:00
Merge pull request #26 from remicollet/issue-fix-clean
Cleanup socket files
This commit is contained in:
commit
ccb1e4730e
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class gnupgt {
|
|||
return;
|
||||
}
|
||||
foreach (glob($homeDir . '/*') as $filename) {
|
||||
if (is_file($filename)) {
|
||||
if (!is_dir($filename)) {
|
||||
unlink($filename);
|
||||
}
|
||||
}
|
||||
|
@ -208,4 +208,4 @@ class gnupgt {
|
|||
self::check_array(2048, $ret, 0, 'subkeys', 1, 'length');
|
||||
self::check_array_from_version('1.7.0', false, $ret, 0, 'subkeys', 1, 'is_cardkey');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue