Skip to content

Commit

Permalink
Merge pull request aws#428 from andythorne/master
Browse files Browse the repository at this point in the history
Implement options on rmdir
  • Loading branch information
mtdowling committed Dec 10, 2014
2 parents f39354d + 526c5de commit 4c593b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Aws/S3/StreamWrapper.php
Expand Up @@ -390,11 +390,12 @@ public function mkdir($path, $mode, $options)
* Remove a bucket from Amazon S3
*
* @param string $path the directory path
* @param int $options A bitwise mask of values
*
* @return bool true if directory was successfully removed
* @link http://www.php.net/manual/en/streamwrapper.rmdir.php
*/
public function rmdir($path)
public function rmdir($path, $options)
{
$params = $this->getParams($path);
if (!$params['Bucket']) {
Expand Down

0 comments on commit 4c593b5

Please sign in to comment.