aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/cryptstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/lib/cryptstream.php')
-rw-r--r--apps/files_encryption/lib/cryptstream.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_encryption/lib/cryptstream.php b/apps/files_encryption/lib/cryptstream.php
index 97e0846187d..86583096f1d 100644
--- a/apps/files_encryption/lib/cryptstream.php
+++ b/apps/files_encryption/lib/cryptstream.php
@@ -90,7 +90,6 @@ class OC_CryptStream{
}
public function stream_write($data){
- error_log('write to '. $this->path);
$length=strlen($data);
$written=0;
$currentPos=ftell($this->source);
@@ -148,9 +147,7 @@ class OC_CryptStream{
}
public function stream_close(){
- if(OC_FileCache::inCache($this->path)){
- OC_FileCache::put($this->path,array('encrypted'=>true));
- }
+ OC_FileCache::put($this->path,array('encrypted'=>true));
return fclose($this->source);
}
} \ No newline at end of file