summaryrefslogtreecommitdiffstats
path: root/lib/private/preview.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-04 15:02:08 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-04 15:02:08 +0200
commite76c246718fe013af7cd0994e0445eeecf14dee1 (patch)
tree2df576e9a902deb486e3ae24efdc338a6b8ce3d7 /lib/private/preview.php
parent09ac61f53b350a9045ee84bc291d9de5904a19b8 (diff)
downloadnextcloud-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-xlib/private/preview.php2
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) {