fix hook registration

This commit is contained in:
Bjoern Schiessle 2015-04-01 10:19:07 +02:00 committed by Thomas Müller
parent 505e0eaf61
commit d90663704c

View file

@ -42,8 +42,9 @@ class HookManager {
$this->hookInstances[] = $instance;
}
} elseif ($instances instanceof IHook) {
$this->hookInstances[] = $instances;
}
$this->hookInstances[] = $instances;
return true;
}