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:
Björn Schießle 2014-03-28 14:59:05 +01:00
commit 7adb5ae2c5
1 changed files with 2 additions and 0 deletions

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;
}
}
}