mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Calendar: fix occasional 502 error on first login after restart
This commit is contained in:
parent
9aa4c6f403
commit
aaa8a4a3f9
@ -960,6 +960,13 @@ END:VALARM';
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of custom widgets classes for etemplate2
|
||||
*/
|
||||
public static function widgets()
|
||||
{
|
||||
return array('calendar_owner_etemplate_widget');
|
||||
}
|
||||
}
|
||||
|
||||
// Not part of the class, since config hooks are still using the old style
|
||||
|
@ -16,8 +16,6 @@ use EGroupware\Api\Egw;
|
||||
use EGroupware\Api\Etemplate;
|
||||
use EGroupware\Api\Framework;
|
||||
|
||||
require_once("class.calendar_owner_etemplate_widget.inc.php");
|
||||
|
||||
/**
|
||||
* Shared base-class of all calendar UserInterface classes
|
||||
*
|
||||
|
@ -46,6 +46,7 @@ $setup_info['calendar']['hooks']['acl_rights'] = 'calendar_hooks::acl_rights';
|
||||
$setup_info['calendar']['hooks']['categories'] = 'calendar_hooks::categories';
|
||||
$setup_info['calendar']['hooks']['mail_import'] = 'calendar_hooks::mail_import';
|
||||
$setup_info['calendar']['hooks']['notifications_actions'] = 'calendar_hooks::notifications_actions';
|
||||
$setup_info['calendar']['hooks']['etemplate2_register_widgets'] = 'calendar_hooks::widgets';
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['calendar']['depends'][] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user