Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Changed amazon s3 adapter to return bool result of moving file
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyers committed Mar 11, 2014
1 parent 22fca4c commit f0b130f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Dmyers/Storage/Adapter/AmazonS3.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,14 @@ public function delete($path)
));
}

/**
* {@inheritDoc}
*/
public function move($path, $target)
{
$this->copy($path, $target);
$this->delete($path);

return $this->delete($path);
}

/**
Expand Down

0 comments on commit f0b130f

Please sign in to comment.