mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 13:23:11 -04:00
create new version if the same file is uploaded again over the web interface, approved in #2317
This commit is contained in:
parent
0fe2f81a0c
commit
6ca2abc108
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class Storage {
|
|||
// if the file already exists than it was a upload of a existing file
|
||||
// over the web interface -> store() is the right function we need here
|
||||
if ($files_view->file_exists($newpath)) {
|
||||
return self::store($newpath);
|
||||
return self::store($new_path);
|
||||
}
|
||||
|
||||
$abs_newpath = $versions_view->getLocalFile($newpath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue