mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Add endpoint to test operations before submitting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
ad976c66fd
commit
e7e9166efe
@ -425,7 +425,7 @@ class Manager implements IManager {
|
||||
* @param string $operation
|
||||
* @throws \UnexpectedValueException
|
||||
*/
|
||||
protected function validateOperation($class, $name, array $checks, $operation, string $entity, array $events) {
|
||||
public function validateOperation($class, $name, array $checks, $operation, string $entity, array $events) {
|
||||
try {
|
||||
/** @var IOperation $instance */
|
||||
$instance = $this->container->query($class);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user