From 49842f97283811d117479335100e8fb93b4f4364 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 3 May 2022 06:42:25 +0200 Subject: [PATCH] readd hook actionMenu --- views/bootstrap/class.UsrMgr.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index 586d2af69..a32e29263 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -209,6 +209,8 @@ $(document).ready( function() { if($accessobject->check_controller_access('UsrMgr', ['action'=>'sendlogindata'])) if($enableemail) $button['menuitems'][] = array('label'=>' '.getMLText("send_login_data"), 'link'=>'../out/out.SendLoginData.php?userid='.$seluser->getID()); + if($this->hasHook('actionMenu')) + $button['menuitems'] = $this->callHook('actionMenu', $seluser, $button['menuitems']); self::showButtonwithMenu($button); } } /* }}} */