Skip to content

Commit

Permalink
call hooks even if joomla isn't bootstraped
Browse files Browse the repository at this point in the history
  • Loading branch information
Jitendra Purohit committed Aug 30, 2017
1 parent 6005042 commit 35e02b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CRM/Utils/Hook/Joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ public function invokeViaUF(
}
return $result;
}
else {
// CRM-20904: We should still call Civi extension hooks even if Joomla isn't online yet.
return $this->commonInvoke($numParams,
$arg1, $arg2, $arg3, $arg4, $arg5, $arg6,
$fnSuffix, 'joomla');
}
}

}

0 comments on commit 35e02b5

Please sign in to comment.