0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-10 08:22:29 +00:00
salesagility_SuiteCRM/modules/Meetings/MeetingsJjwg_MapsLogicHook.php
Dillon-Brown 4ee7a709a0 Remove PHP4 constructors
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-26 21:50:24 +00:00

26 lines
504 B
PHP

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
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);
}
}
}