From 423a8c09c79b2724e7828e0c6fc7f1cb66f2299d Mon Sep 17 00:00:00 2001 From: afedyk-sugarcrm Date: Mon, 12 May 2014 14:16:37 +0300 Subject: [PATCH] removed using write_array_to_file on po install script --- scripts/post_install.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/post_install.php b/scripts/post_install.php index 23738eb..c9a1da0 100644 --- a/scripts/post_install.php +++ b/scripts/post_install.php @@ -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', @@ -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); } -?>