PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_LDAP » Bug #1136

Recursive delete it not working

Details

Submitted2004-04-05 09:23 UTC
Fromlauris at night dot lt
Assignedjw
StatusClosed
PackageNet_LDAP
PHP VersionIrrelevant
OSFreeBSD
Roadmaps(Not assigned)

Comments

[2004-04-05 09:23 UTC] lauris at night dot lt

Description:
------------
I think Net_LDAP->delete() recursion should be rewriten, as it only runs through but doesn't delete elements...

Expected result:
----------------
deleted item and it's children

Actual result:
--------------
nothing is deleted

[2004-04-08 14:44 UTC] jw at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.

It already has been rewritten in HEAD. I did a quick fix to the old version which should work (untested). Be sure to check out branch NET_LDAP_0_6 when updating from cvs.