diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-04 15:02:08 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-04-04 15:02:08 +0200 |
commit | e76c246718fe013af7cd0994e0445eeecf14dee1 (patch) | |
tree | 2df576e9a902deb486e3ae24efdc338a6b8ce3d7 /lib/private/preview.php | |
parent | 09ac61f53b350a9045ee84bc291d9de5904a19b8 (diff) | |
download | nextcloud-server-e76c246718fe013af7cd0994e0445eeecf14dee1.tar.gz nextcloud-server-e76c246718fe013af7cd0994e0445eeecf14dee1.zip |
Pass the correct root to the preview on post_write
Diffstat (limited to 'lib/private/preview.php')
-rwxr-xr-x | lib/private/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview.php b/lib/private/preview.php index 0c1af3c9588..26016555a32 100755 --- a/lib/private/preview.php +++ b/lib/private/preview.php @@ -640,7 +640,7 @@ class Preview { } public static function post_write($args) { - self::post_delete($args); + self::post_delete($args, 'files/'); } public static function prepare_delete_files($args) { |