mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix hook registration
This commit is contained in:
parent
505e0eaf61
commit
d90663704c
1 changed files with 2 additions and 1 deletions
|
|
@ -42,8 +42,9 @@ class HookManager {
|
|||
$this->hookInstances[] = $instance;
|
||||
}
|
||||
|
||||
} elseif ($instances instanceof IHook) {
|
||||
$this->hookInstances[] = $instances;
|
||||
}
|
||||
$this->hookInstances[] = $instances;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue