Skip to content

Commit

Permalink
Merge pull request #29424 from owncloud/stable10-72e2bfb37fb20ef1ef46…
Browse files Browse the repository at this point in the history
…cf99e332e36ade6651c2

[stable10] Fix Sabre\DAV\Client use statement for older PHP
  • Loading branch information
DeepDiver1975 authored Nov 3, 2017
2 parents 0d2c70a + 2fd2396 commit 289b37e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/private/Http/Client/WebDavClientService.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use OCP\Http\Client\IWebDavClientService;
use OCP\IConfig;
use OCP\ICertificateManager;
use Sabre\DAV\Client;

/**
* Class WebDavClientService
Expand Down Expand Up @@ -86,7 +85,7 @@ public function newClient($settings) {
}
}

$client = new Client($settings);
$client = new \Sabre\DAV\Client($settings);
$client->setThrowExceptions(true);

if ($certPath !== null) {
Expand Down

0 comments on commit 289b37e

Please sign in to comment.