Completed
Push — master ( f6f7b5...3a3e6c )
by Lukas
40:35 queued 25:18
created
apps/dav/lib/Server.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.