Stopped returning filesize in delete functions.

Created an Amazon S3 wrapper class around Zend_Service_Amazon_S3 to add more functionality.
This commit is contained in:
drigato 2014-10-21 16:05:50 -04:00
parent 544d20ebc2
commit f775bedb49
6 changed files with 121 additions and 55 deletions

View file

@ -102,8 +102,6 @@ class CcFiles extends BaseCcFiles {
/**
*
* Deletes the file from the stor directory
*
* Returns the filesize of the deleted file
*/
public function deletePhysicalFile()
{
@ -113,8 +111,6 @@ class CcFiles extends BaseCcFiles {
} else {
throw new Exception("Could not locate file ".$filepath);
}
return $this->getFileSize();
}
} // CcFiles