瀏覽代碼

fix uploading files using webdav

tags/v3.0
Robin Appelman 12 年之前
父節點
當前提交
57bffdb46a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/fileproxy/quota.php

+ 1
- 1
lib/fileproxy/quota.php 查看文件

@@ -45,7 +45,7 @@ class OC_FileProxy_Quota extends OC_FileProxy{

public function preFile_put_contents($path,$data){
if (is_resource($data)) {
$data = stream_get_contents($data);
$data = '';//TODO: find a way to get the length of the stream without emptying it
}
return (strlen($data)<$this->getFreeSpace() or $this->getFreeSpace()==0);
}

Loading…
取消
儲存