@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $authPlugin->addBackend($authBackend); |
116 | 116 | |
117 | 117 | // debugging |
118 | - if(\OC::$server->getConfig()->getSystemValue('debug', false)) { |
|
118 | + if (\OC::$server->getConfig()->getSystemValue('debug', false)) { |
|
119 | 119 | $this->server->addPlugin(new \Sabre\DAV\Browser\Plugin()); |
120 | 120 | } else { |
121 | 121 | $this->server->addPlugin(new DummyGetResponsePlugin()); |
@@ -171,10 +171,10 @@ discard block |
||
171 | 171 | |
172 | 172 | // Some WebDAV clients do require Class 2 WebDAV support (locking), since |
173 | 173 | // we do not provide locking we emulate it using a fake locking plugin. |
174 | - if($request->isUserAgent([ |
|
174 | + if ($request->isUserAgent([ |
|
175 | 175 | '/WebDAVFS/', |
176 | 176 | '/Microsoft Office OneNote 2013/', |
177 | - '/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601 |
|
177 | + '/^Microsoft-WebDAV/', // Microsoft-WebDAV-MiniRedir/6.1.7601 |
|
178 | 178 | ])) { |
179 | 179 | $this->server->addPlugin(new FakeLockerPlugin()); |
180 | 180 | } |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | } |
185 | 185 | |
186 | 186 | // wait with registering these until auth is handled and the filesystem is setup |
187 | - $this->server->on('beforeMethod', function () use ($root) { |
|
187 | + $this->server->on('beforeMethod', function() use ($root) { |
|
188 | 188 | // custom properties plugin must be the last one |
189 | 189 | $userSession = \OC::$server->getUserSession(); |
190 | 190 | $user = $userSession->getUser(); |