diff --git a/src/QUI/Menu/Independent/Factory.php b/src/QUI/Menu/Independent/Factory.php index 0d06b8be30c5cf2ae1b5fad4fe1b2ae760a2fa02..3e717a40d7748aa43f4431faa306dcfb45223207 100644 --- a/src/QUI/Menu/Independent/Factory.php +++ b/src/QUI/Menu/Independent/Factory.php @@ -41,5 +41,11 @@ public static function deleteMenu(int $menuId) QUI::getDataBase()->delete(Handler::table(), [ 'id' => $menuId ]); + + try { + QUI::getEvents()->fireEvent('quiqqerMenuIndependentDelete', [$menuId]); + } catch (\Exception $Exception) { + QUI\System\Log::writeException($Exception); + } } }