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:
parent
544d20ebc2
commit
f775bedb49
6 changed files with 121 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue