Thanks Andrew Grumet (https://openacs.org/forums/message-view?message_id=199868)
I have reviewed the changes and they go very well. Bug resolved by Andrew Grumet.
I open new bug with number 2090 about delete folders not empty in homework. https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=2090
Thank you.