We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7423cc1 commit f3e0551Copy full SHA for f3e0551
src/Backup/File.php
@@ -111,8 +111,11 @@ public function isWritable()
111
*/
112
public function unlink()
113
{
114
+ $old = error_reporting(0);
115
if (!unlink($this->fileInfo->getPathname())) {
116
+ error_reporting($old);
117
throw new Exception(sprintf('can\'t delete file: %s', $this->fileInfo->getPathname()));
118
}
119
120
121
0 commit comments