diff options
-rw-r--r-- | apps/files_versions/lib/versions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index d9016e40935..b9cc40a0664 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -178,6 +178,8 @@ class Storage { return self::store($new_path); } + self::expire($newpath); + $abs_newpath = $versions_view->getLocalFile($newpath); if ( $files_view->is_dir($oldpath) && $versions_view->is_dir($oldpath) ) { |