apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 location
|
@@ 436-442 (lines=7) @@
|
| 433 |
|
* |
| 434 |
|
* @return bool |
| 435 |
|
*/ |
| 436 |
|
protected function hasNull($param) { |
| 437 |
|
if (\is_array($param)) { |
| 438 |
|
return \in_array(null, $param, true); |
| 439 |
|
} else { |
| 440 |
|
return $param === null; |
| 441 |
|
} |
| 442 |
|
} |
| 443 |
|
} |
| 444 |
|
|
apps/federatedfilesharing/lib/Controller/OcmController.php 1 location
|
@@ 446-452 (lines=7) @@
|
| 443 |
|
* |
| 444 |
|
* @return bool |
| 445 |
|
*/ |
| 446 |
|
protected function hasNull($param) { |
| 447 |
|
if (\is_array($param)) { |
| 448 |
|
return \in_array(null, $param, true); |
| 449 |
|
} else { |
| 450 |
|
return $param === null; |
| 451 |
|
} |
| 452 |
|
} |
| 453 |
|
|
| 454 |
|
/** |
| 455 |
|
* Get share by id, validate it's type and token |