mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-21 22:17:09 +00:00
also cleanup socket files
This commit is contained in:
parent
3cd5970076
commit
68055f20f9
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue