SAAS-596: Store file size and hash in database

Removed getFileSize from CloudFile.php since it can call the parent
function.
Moved setting filesize metadata from cloud_storage_uploader.
This commit is contained in:
drigato 2015-02-17 16:51:25 -05:00
parent fe7071b5e3
commit 5bd3371ec2
2 changed files with 1 additions and 12 deletions

View file

@ -44,14 +44,6 @@ class CloudFile extends BaseCloudFile
return $this->proxyStorageBackend->getAbsoluteFilePath($this->getResourceId());
}
/**
* Returns the file size in bytes.
*/
public function getFileSize()
{
return $this->getDbFilesize();
}
public function getFilename()
{
return $this->getDbFilepath();