Deleting a folder wont delete files in it, just moved to the parent

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
Hello all,

I just noticed that if you are in file manager and you delete a folder, it will move all the files to the parent folder or upload folder and it wont get rid of the files..
Are we able to change this so all the files within that folder get deleted as well ? i mean it would be better otherwise, users are deleting all the files and then the folder, would be easier if this was recursive deleting...
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Hi,

It's always been like this :) It's to limit an accidental mass deletion of files when there's no revert from the recycle bin at the moment. There is something on the todo list to give the user the option though.

Thanks,
Adam.
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
Can you point me to which PHP file does this so i can tweak it for my use. I just want the files in the folder deleted with the folder recursively. ?
 

paypal1352

New Member
YetiShare User
Wurlie User
Mar 2, 2012
297
2
0
sukhman21 said:
Can you point me to which PHP file does this so i can tweak it for my use. I just want the files in the folder deleted with the folder recursively. ?
+1 on this

I tried searching for the code couldn't find it. Its a good feature to have but I definitely agree with you and would like to disable it myself.