aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-10 10:31:40 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-10 10:31:40 +0200
commit9a8457aca0290b62e62575c59ba6b189c31b9b81 (patch)
tree8aba1a629a0e7fb614a592d86615245277bb819a /lib
parent7c072510d30b30b3d2a6d9c8b055fb816e5f0967 (diff)
parente76c246718fe013af7cd0994e0445eeecf14dee1 (diff)
downloadnextcloud-server-9a8457aca0290b62e62575c59ba6b189c31b9b81.tar.gz
nextcloud-server-9a8457aca0290b62e62575c59ba6b189c31b9b81.zip
Merge pull request #8053 from owncloud/preview-hook-root
Pass the correct root to the preview on post_write
Diffstat (limited to 'lib')
-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) {