modules/UpgradeWizard/silentUpgrade_step1.php

Show: inherited
Table of Contents

Constants

Constant  sugarEntry = true
Constant  SUGARCRM_INSTALL = 'SugarCRM_Install'
Constant  DCE_INSTANCE = 'DCE_Instance'
Constant  SUGARCRM_PRE_INSTALL_FILE = 'scripts/pre_install.php'
Constant  SUGARCRM_POST_INSTALL_FILE = 'scripts/post_install.php'
Constant  SUGARCRM_PRE_UNINSTALL_FILE = 'scripts/pre_uninstall.php'
Constant  SUGARCRM_POST_UNINSTALL_FILE = 'scripts/post_uninstall.php'

Functions

functionaddDefaultModuleRoles(  $defaultRoles = array() ) : void

Parameters
Name Type Description
$defaultRoles
functioncheckConfigForPermissions( ) : void

functioncheckLeadConversionSettings( ) : void

functioncheckLoggerSettings( ) : void

functioncheckResourceSettings( ) : void

functionclearCacheSU(  $thedir,  $extension ) : void

Parameters
Name Type Description
$thedir
$extension
functioncreateMissingRels( ) : void

functioninDeveloperMode( ) : void

functionmerge_passwordsetting(  $sugar_config,  $sugar_version ) : bool

This function will merge password default settings into config file

Parameters
Name Type Description
$sugar_config
$sugar_version
Returns
Type Description
bool true if successful
functionprepSystemForUpgradeSilent( ) : void

functionrepairTableDictionaryExtFile( ) : void

repairTableDictionaryExtFile

There were some scenarios in 6.0.x whereby the files loaded in the extension tabledictionary.ext.php file did not exist. This would cause warnings to appear during the upgrade. As a result, this function scans the contents of tabledictionary.ext.php and then remove entries where the file does exist.

functionsugar_cached( \$file $file ) : string

sugar_cached

Parameters
Name Type Description
$file \$file

The path to retrieve cache lookup information for

Returns
Type Description
string The cached path according to $GLOBALS['sugar_config']['cache_dir'] or just appended with cache if not defined
functionthreeWayMerge( ) : void

functionverifyArguments(  $argv,  $usage_regular ) : void

Parameters
Name Type Description
$argv
$usage_regular
Documentation was generated by DocBlox 0.18.1.