0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-22 12:28:31 +00:00
salesagility_SuiteCRM/modules/Meetings/MeetingsJjwg_MapsLogicHook.php
2023-07-18 15:53:09 +01:00

28 lines
531 B
PHP

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
#[\AllowDynamicProperties]
class MeetingsJjwg_MapsLogicHook
{
public $jjwg_Maps;
public function __construct()
{
$this->jjwg_Maps = get_module_info('jjwg_Maps');
}
public function updateMeetingGeocodeInfo(&$bean, $event, $arguments)
{
// after_save
if ($this->jjwg_Maps->settings['logic_hooks_enabled']) {
$this->jjwg_Maps->updateMeetingGeocodeInfo($bean);
}
}
}