owncloud/core — pull request #8053 by icewind1991 (2014-04-04 13:05:51+00:00)
Title: Pass the correct root to the preview on post_write

Without this the Preview object created is for `/$user/foo` instead `/$user/files/foo`

cc @georgehrke @DeepDiver1975 @PVince81