projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4283a02
)
CRM_Core_Invoker - Emit authorization event
author
Tim Otten
<totten@civicrm.org>
Fri, 12 Feb 2021 20:26:36 +0000
(12:26 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 2 Mar 2021 19:37:53 +0000
(11:37 -0800)
CRM/Core/Invoke.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Invoke.php
b/CRM/Core/Invoke.php
index bcb6da8a9892b2a76e7be557bd6978f90e309f88..bc537d6b269f9c01d2bc94c318f21d1c6cdabcfc 100644
(file)
--- a/
CRM/Core/Invoke.php
+++ b/
CRM/Core/Invoke.php
@@
-64,6
+64,7
@@
class CRM_Core_Invoke {
// may exit
self::hackMenuRebuild($args);
self::init($args);
+ Civi::dispatcher()->dispatch('civi.invoke.auth', \Civi\Core\Event\GenericHookEvent::create(['args' => $args]));
$item = self::getItem($args);
return self::runItem($item);
}