mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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)
|
function popup ($content=null)
|
||||||
{
|
{
|
||||||
// check and if not done register tutorial_menu hook
|
// check and if not done register tutorial_menu hook
|
||||||
if (!$GLOBALS['egw']->hooks->hook_exists('sidebox_all', 'home') ||
|
if (!EGroupware\Api\Hooks::exists('sidebox_all', 'home') ||
|
||||||
$GLOBALS['egw']->hooks->locations['sidebox_all']['home'] != 'home_tutorial_ui::tutorial_menu')
|
EGroupware\Api\Hooks::exists('sidebox_all', 'home', true) != 'home_tutorial_ui::tutorial_menu')
|
||||||
{
|
{
|
||||||
$setup_info = array();
|
$setup_info = array();
|
||||||
include(EGW_SERVER_ROOT.'/home/setup/setup.inc.php');
|
include(EGW_SERVER_ROOT.'/home/setup/setup.inc.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user