don't write file if opening a stream to encrypt the data fails

This commit is contained in:
Bjoern Schiessle 2014-03-28 12:02:49 +01:00
parent 0757f87dba
commit b9100bc2de

View file

@ -128,6 +128,8 @@ class Proxy extends \OC_FileProxy {
// re-enable proxy - our work is done
\OC_FileProxy::$enabled = $proxyStatus;
} else {
return false;
}
}
}