diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-20 18:32:40 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-20 18:32:40 +0200 |
commit | 7152b8b4ee2f0d4de640868b614992e8aaf00803 (patch) | |
tree | c3c0674a708cc1dfca78c2eeeffb3cd9a175006d /lib/filestorage | |
parent | 39086ef63e451871dfd9778f64cdbc4df142bd19 (diff) | |
download | nextcloud-server-7152b8b4ee2f0d4de640868b614992e8aaf00803.tar.gz nextcloud-server-7152b8b4ee2f0d4de640868b614992e8aaf00803.zip |
remove unused and depricated getFolderSize
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index b2eba051515..0ed184c8025 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -4,7 +4,6 @@ */ class OC_Filestorage_Local extends OC_Filestorage_Common{ protected $datadir; - private static $mimetypes=null; public function __construct($arguments){ $this->datadir=$arguments['datadir']; if(substr($this->datadir,-1)!=='/'){ @@ -41,7 +40,7 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ } public function filesize($path){ if($this->is_dir($path)){ - return $this->getFolderSize($path); + return 0; }else{ return filesize($this->datadir.$path); } @@ -187,15 +186,6 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{ } /** - * @brief get the size of folder and it's content - * @param string $path file path - * @return int size of folder and it's content - */ - public function getFolderSize($path){ - return 0;//depricated, use OC_FileCach instead - } - - /** * check if a file or folder has been updated since $time * @param int $time * @return bool |