Skip to content

Commit

Permalink
removed using write_array_to_file on po install script
Browse files Browse the repository at this point in the history
  • Loading branch information
afedyk-sugarcrm committed May 12, 2014
1 parent 274bcad commit 423a8c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/post_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function post_install()
$fileNameBase = 'modules/Connectors/metadata/display_config.php';
$fileName = get_custom_file_if_exists($fileNameBase);
include($fileName);
$fileName = "custom/" . $fileNameBase;
$moduleList = array(
'Accounts',
'Opportunities',
Expand All @@ -27,14 +26,11 @@ function post_install()
);

foreach ($moduleList as $moduleName) {
$modules_sources[$moduleName]['ext_eapm_connections'] = 'ext_eapm_connections';
$mapping['beans'][$moduleName] = true;
}
write_array_to_file('modules_sources', $modules_sources, $fileName);

require_once 'include/connectors/sources/SourceFactory.php';
$source = SourceFactory::getSource('ext_eapm_connections');
$source->saveMappingHook($mapping);
}

?>

0 comments on commit 423a8c0

Please sign in to comment.