mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2026-07-31 04:02:03 +08:00
Merge commit 'de4bf25cb3' into release/8.4.0-beta
# Conflicts:
# public/legacy/data/SugarBean.php
# public/legacy/include/Smarty/plugins/function.sugarvar.php
# public/legacy/include/SugarDateTime.php
# public/legacy/include/database/MysqliManager.php
# public/legacy/modules/Alerts/metadata/listviewdefs.php
# public/legacy/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php
# public/legacy/modules/Trackers/metadata/SearchFields.php
# public/legacy/modules/Trackers/metadata/listviewdefs.php
# public/legacy/modules/UpgradeWizard/SugarMerge/EditViewMerge.php
# public/legacy/suitecrm_version.php
35 lines
781 B
PHP
35 lines
781 B
PHP
<?php
|
|
|
|
if (!defined('sugarEntry') || !sugarEntry) {
|
|
die('Not A Valid Entry Point');
|
|
}
|
|
|
|
#[\AllowDynamicProperties]
|
|
class ProspectsJjwg_MapsLogicHook
|
|
{
|
|
public $jjwg_Maps;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->jjwg_Maps = get_module_info('jjwg_Maps');
|
|
}
|
|
|
|
|
|
|
|
|
|
public function updateGeocodeInfo(&$bean, $event, $arguments)
|
|
{
|
|
// before_save
|
|
if ($this->jjwg_Maps->settings['logic_hooks_enabled']) {
|
|
$this->jjwg_Maps->updateGeocodeInfo($bean);
|
|
}
|
|
}
|
|
|
|
public function updateRelatedMeetingsGeocodeInfo(&$bean, $event, $arguments)
|
|
{
|
|
// after_save
|
|
if ($this->jjwg_Maps->settings['logic_hooks_enabled']) {
|
|
$this->jjwg_Maps->updateRelatedMeetingsGeocodeInfo($bean);
|
|
}
|
|
}
|
|
}
|