also expire versions on rename, to update the history more regularly

This commit is contained in:
Björn Schießle 2013-06-26 16:28:23 +02:00
parent d6c1e5490d
commit e8760d7284
1 changed files with 2 additions and 0 deletions

View File

@ -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) ) {