Merge pull request #7929 from owncloud/enc_dont_write_file_if_enc_fails
don't write file if opening a stream to encrypt the data fails
This commit is contained in:
commit
7adb5ae2c5
|
@ -128,6 +128,8 @@ class Proxy extends \OC_FileProxy {
|
||||||
|
|
||||||
// re-enable proxy - our work is done
|
// re-enable proxy - our work is done
|
||||||
\OC_FileProxy::$enabled = $proxyStatus;
|
\OC_FileProxy::$enabled = $proxyStatus;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue