owncloud/core — pull request #6680 by PVince81 (2014-01-08 12:19:55+00:00)
Title: Prevent deleting storage root

Storage mount points are not deletable, so make sure that the unlink
operation and its hooks aren't run in such cases.

Note that some storages might recursively delete their contents when
calling unlink on their root. This fix prevents that as well.

Please review @karlitschek @schiesbn @icewind1991 @DeepDiver1975