From 7f8ea2c218c1051a37b18c61b7f8055603197cc4 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 12 Apr 2016 08:12:49 +0000 Subject: [PATCH] Fix not working tutorials popup --- home/inc/class.home_tutorial_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/inc/class.home_tutorial_ui.inc.php b/home/inc/class.home_tutorial_ui.inc.php index 4bc8770ce2..a062674ccf 100644 --- a/home/inc/class.home_tutorial_ui.inc.php +++ b/home/inc/class.home_tutorial_ui.inc.php @@ -29,8 +29,8 @@ class home_tutorial_ui function popup ($content=null) { // check and if not done register tutorial_menu hook - if (!$GLOBALS['egw']->hooks->hook_exists('sidebox_all', 'home') || - $GLOBALS['egw']->hooks->locations['sidebox_all']['home'] != 'home_tutorial_ui::tutorial_menu') + if (!EGroupware\Api\Hooks::exists('sidebox_all', 'home') || + EGroupware\Api\Hooks::exists('sidebox_all', 'home', true) != 'home_tutorial_ui::tutorial_menu') { $setup_info = array(); include(EGW_SERVER_ROOT.'/home/setup/setup.inc.php');