remove test code

This commit is contained in:
Bjoern Schiessle 2013-09-06 13:16:48 +02:00
parent fb462e83cc
commit 1558cb860c

View file

@ -128,7 +128,7 @@ class Stream {
$this->unencryptedSize = 0;
} else {
\OCA\Encryption\Helper::redirectToErrorPage($this->session);
if($this->privateKey === false) {
// if private key is not valid redirect user to a error page
\OCA\Encryption\Helper::redirectToErrorPage($this->session);