Skip to content

Commit

Permalink
Implement options on rmdir
Browse files Browse the repository at this point in the history
  • Loading branch information
andythorne authored and Andy committed Dec 8, 2014
1 parent 5ee8ffe commit 526c5de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Aws/S3/StreamWrapper.php
Original file line number Diff line number Diff line change
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 526c5de

Please sign in to comment.