diff options
Diffstat (limited to 'apps/files_trashbin/lib/trashbin.php')
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 689a790d863..bb6bdd547a0 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -502,7 +502,6 @@ class Trashbin { if ($timestamp) { $keyfile .= '.d' . $timestamp; - $sharekey .= '.d' . $timestamp; } // disable proxy to prevent recursive calls @@ -518,6 +517,9 @@ class Trashbin { $rootView->rename($keyfile, $baseDir . '/keyfiles/' . $ownerPath); // handle share-keys + if ($timestamp) { + $sharekey .= '.d' . $timestamp; + } $size += self::calculateSize(new \OC\Files\View($sharekey)); $rootView->rename($sharekey, $baseDir . '/share-keys/' . $ownerPath); } else { |