modules/UpgradeWizard/silentUpgrade_step1.php
Constants
Functions
addDefaultModuleRoles(
$defaultRoles
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$defaultRoles |
merge_passwordsetting(
$sugar_config, $sugar_version
)
:
bool
This function will merge password default settings into config file
Parameters
Returns
Name | Type | Description |
---|---|---|
$sugar_config | ||
$sugar_version |
Type | Description |
---|---|
bool | true if successful |
repairTableDictionaryExtFile(
)
:
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.
sugar_cached(
\$file $file
)
:
string
sugar_cached
Parameters
Returns
Name | Type | Description |
---|---|---|
$file | \$file | The path to retrieve cache lookup information for |
Type | Description |
---|---|
string | The cached path according to $GLOBALS['sugar_config']['cache_dir'] or just appended with cache if not defined |