apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php 1 location
|
@@ 252-259 (lines=8) @@
|
| 249 |
|
return $results[0]; |
| 250 |
|
} |
| 251 |
|
|
| 252 |
|
switch ($test) { |
| 253 |
|
case 'anyof': |
| 254 |
|
return array_values(array_unique(array_merge(...$results))); |
| 255 |
|
|
| 256 |
|
case 'allof': |
| 257 |
|
default: |
| 258 |
|
return array_values(array_intersect(...$results)); |
| 259 |
|
} |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
/** |
apps/dav/lib/Connector/Sabre/Principal.php 1 location
|
@@ 264-271 (lines=8) @@
|
| 261 |
|
return $results[0]; |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
switch ($test) { |
| 265 |
|
case 'anyof': |
| 266 |
|
return array_unique(array_merge(...$results)); |
| 267 |
|
|
| 268 |
|
case 'allof': |
| 269 |
|
default: |
| 270 |
|
return array_intersect(...$results); |
| 271 |
|
} |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
/** |