diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-04-10 10:31:40 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-04-10 10:31:40 +0200 |
commit | 9a8457aca0290b62e62575c59ba6b189c31b9b81 (patch) | |
tree | 8aba1a629a0e7fb614a592d86615245277bb819a /lib | |
parent | 7c072510d30b30b3d2a6d9c8b055fb816e5f0967 (diff) | |
parent | e76c246718fe013af7cd0994e0445eeecf14dee1 (diff) | |
download | nextcloud-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-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) { |