Skip to content
Snippets Groups Projects
Commit 65063572 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #17239 from owncloud/files-nameconflictfix

Fix class name conflict
parents 883888bd 2fa432df
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@ namespace OC\Connector\Sabre;
use OCP\IConfig;
use Sabre\DAV\Exception\ServiceUnavailable;
use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin;
class MaintenancePlugin extends ServerPlugin {
......@@ -61,10 +60,10 @@ class MaintenancePlugin extends ServerPlugin {
*
* This method should set up the required event subscriptions.
*
* @param Server $server
* @param \Sabre\DAV\Server $server
* @return void
*/
public function initialize(Server $server) {
public function initialize(\Sabre\DAV\Server $server) {
$this->server = $server;
$this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 10);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment