Verified Commit 42402ecb authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3486995 by nicxvan: Clean up how ModuleInstaller invokes hooks around...

Issue #3486995 by nicxvan: Clean up how ModuleInstaller invokes hooks around installing other modules

(cherry picked from commit eab46c49)
parent 1a17e781
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -722,9 +722,7 @@ protected function uninstallSchema(string $module): void {
   */
  protected function invokeAll($hook, $args = []): void {
    $this->moduleHandler->loadAll();
    foreach ($this->moduleHandler->getModuleList() as $module => $extension) {
      $this->moduleHandler->invoke($module, $hook, $args);
    }
    $this->moduleHandler->invokeAll($hook, $args);
  }

  /**