mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
* Api: If addressbook event column is disabled, disable next / last dates in edit dialog as well.
This commit is contained in:
parent
50f7bdb112
commit
6aec7858cc
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
namespace EGroupware\Api;
|
namespace EGroupware\Api;
|
||||||
|
|
||||||
use calendar_bo; // to_do: do NOT require it, just use if there
|
use calendar_bo; // to_do: do NOT require it, just use if there
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Business object for contacts
|
* Business object for contacts
|
||||||
@ -1672,7 +1672,12 @@ class Contacts extends Contacts\Storage
|
|||||||
*/
|
*/
|
||||||
function read_calendar($uids,$extra_title=true)
|
function read_calendar($uids,$extra_title=true)
|
||||||
{
|
{
|
||||||
if (!$GLOBALS['egw_info']['user']['apps']['calendar']) return array();
|
if (!$GLOBALS['egw_info']['user']['apps']['calendar'] ||
|
||||||
|
$GLOBALS['egw_info']['server']['disable_event_column'] == 'True'
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
$split_uids = array();
|
$split_uids = array();
|
||||||
$events = array();
|
$events = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user