mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
don't write file if opening a stream to encrypt the data fails
This commit is contained in:
parent
0757f87dba
commit
b9100bc2de
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ class Proxy extends \OC_FileProxy {
|
|||
|
||||
// re-enable proxy - our work is done
|
||||
\OC_FileProxy::$enabled = $proxyStatus;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue