mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix not working tutorials popup
This commit is contained in:
parent
c6ab38a51d
commit
7f8ea2c218
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user