]> source.dussan.org Git - nextcloud-server.git/commitdiff
Suppress error message which would send headers for hosted sited where disk_free_spac...
authorThomas Tanghus <thomas@tanghus.net>
Sat, 8 Sep 2012 15:58:59 +0000 (17:58 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Sat, 8 Sep 2012 15:58:59 +0000 (17:58 +0200)
lib/filestorage/local.php

index e26d3d3ef91820f7e052236575b69b9248e3b423..80aa548047c31dc07afa7cba133f1dedb2db739c 100644 (file)
@@ -161,7 +161,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
        }
 
        public function free_space($path) {
-               return disk_free_space($this->datadir.$path);
+               return @disk_free_space($this->datadir.$path);
        }
 
        public function search($query) {