mikedeboer / jsDAV

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
http://www.mikedeboer.nl
MIT License
681 stars 159 forks source link

Remove Locks on DELETE and MOVE #152

Open angermueller opened 8 years ago

angermueller commented 8 years ago

This should fix #151. Added a method called removeLockFromRoot to remove a lock from a certain root uri. Added two event listeners ('afterDelete' and 'afterMove') to call this method.

locks.js on line 80 could be checked. Should the parameter returnChildLocks true or false here?