Skip to content

Commit

Permalink
Silence any errors from deleting temp files/directories
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jan 22, 2015
1 parent ee5ddde commit ac40e6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/Util/lib/Horde/Util.php
Expand Up @@ -437,17 +437,17 @@ public static function shutdown()
while ($it->valid()) {
if (!$it->isDot()) {
if ($it->isDir()) {
rmdir($it->key());
@rmdir($it->key());
} elseif ($it->isFile()) {
self::_secureDelete($it->key());
} else {
unlink($it->key());
@unlink($it->key());
}
}
$it->next();
}

rmdir($val);
@rmdir($val);
}
}

Expand Down

0 comments on commit ac40e6c

Please sign in to comment.