owncloud/core — pull request #8968 by icewind1991 (2014-06-10 13:28:50+00:00)
Title: Repair broken parent link in the scanner

Make sure the `parent` row is set correctly in the database to prevent ghost files in the cache.

Possible fix for #8118

cc @PVince81