mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
also dont download existing on fopen when using w+ and wb+
This commit is contained in:
@@ -170,13 +170,13 @@ abstract class Flysystem extends Common {
|
||||
return false;
|
||||
}
|
||||
case 'w':
|
||||
case 'w+':
|
||||
case 'wb':
|
||||
case 'wb+':
|
||||
$useExisting = false;
|
||||
case 'a':
|
||||
case 'ab':
|
||||
case 'r+':
|
||||
case 'w+':
|
||||
case 'wb+':
|
||||
case 'a+':
|
||||
case 'x':
|
||||
case 'x+':
|
||||
|
||||
Reference in New Issue
Block a user