File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
lib/private/Files/Storage Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -470,9 +470,6 @@ public function touch($path, $mtime = null) {
470470 $ this ->client ->proppatch ($ this ->encodePath ($ path ), ['{DAV:}lastmodified ' => $ mtime ]);
471471 // non-owncloud clients might not have accepted the property, need to recheck it
472472 $ response = $ this ->client ->propfind ($ this ->encodePath ($ path ), ['{DAV:}getlastmodified ' ], 0 );
473- if ($ response === false ) {
474- return false ;
475- }
476473 if (isset ($ response ['{DAV:}getlastmodified ' ])) {
477474 $ remoteMtime = strtotime ($ response ['{DAV:}getlastmodified ' ]);
478475 if ($ remoteMtime !== $ mtime ) {
@@ -911,9 +908,6 @@ public function getDirectoryContent($directory): \Traversable {
911908 self ::PROPFIND_PROPS ,
912909 1
913910 );
914- if ($ responses === false ) {
915- return ;
916- }
917911
918912 array_shift ($ responses ); //the first entry is the current directory
919913 if (!$ this ->statCache ->hasKey ($ directory )) {
You can’t perform that action at this time.
0 commit comments