mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Do not "use" Server
This commit is contained in:
parent
5eddde6486
commit
44e6c4f398
1 changed files with 2 additions and 3 deletions
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
namespace OC\Connector\Sabre;
|
||||
|
||||
use Sabre\DAV\Server;
|
||||
use Sabre\DAV\ServerPlugin;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
||||
|
|
@ -39,9 +38,9 @@ class ListenerPlugin extends ServerPlugin {
|
|||
/**
|
||||
* This initialize the plugin
|
||||
*
|
||||
* @param Server $server
|
||||
* @param \Sabre\DAV\Server $server
|
||||
*/
|
||||
public function initialize(Server $server) {
|
||||
public function initialize(\Sabre\DAV\Server $server) {
|
||||
$server->on('beforeMethod', array($this, 'emitListener'), 15);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue