Filesystem: Add return statement to WP_Filesystem_ftpsockets->rmdir

Props tymvie.
Fixes #39405.


git-svn-id: https://develop.svn.wordpress.org/trunk@39644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2016-12-28 03:51:29 +00:00
parent 8eda7a0510
commit 3a4aae8c20

View File

@@ -470,9 +470,10 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
*
* @param string $path
* @param bool $recursive
* @return bool
*/
public function rmdir($path, $recursive = false ) {
$this->delete($path, $recursive);
return $this->delete($path, $recursive);
}
/**