[dokuwiki] New PR: remove recursively empty direcories

  • From: "tormec" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 1 Nov 2018 10:15:45 +0100 (CET)

Hi,

tormec opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2562:

Let's consider the following tree directory:
```
/foo/
    file
    bar/
```
From my point of view the function `io_rmdir()`, defined in  `/inc/io.php`, 
could be a little be wiser because it fails in deleting recursively empty 
directories when the parameter `$removefiles` is `false`. In fact the call:
```
io_rmdir('/foo')
```
doesn't remove the empty directory `/foo/bar/` because of `/foo/file`.

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

b61bc620-ddb6-11e8-8e7f-22097d5d24c4


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: remove recursively empty direcories - tormec