removed obsolete copying
This commit is contained in:
parent
adcea47ce5
commit
f1fb0bf355
|
@ -131,19 +131,6 @@ function upgradeConfigToServerProfileFolders($profiles) {
|
||||||
recursiveDelete('../config/profiles', $profiles);
|
recursiveDelete('../config/profiles', $profiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Saves an hash array (attribute => value) to an account profile
|
|
||||||
*
|
|
||||||
* @param array $profiles server profiles
|
|
||||||
*/
|
|
||||||
function copyConfigTemplates($profiles) {
|
|
||||||
foreach ($profiles as $profile) {
|
|
||||||
// copy templates but do not override existing files
|
|
||||||
recursiveCopy('../config/templates/pdf/', '../config/pdf/' . $profile, $profiles, null, false);
|
|
||||||
recursiveCopy('../config/templates/profiles/', '../config/profiles/' . $profile, $profiles, null, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copy a file or recursively copy a directory
|
* Copy a file or recursively copy a directory
|
||||||
*
|
*
|
||||||
|
|
|
@ -229,8 +229,6 @@ function display_LoginPage($config_object, $cfgMain) {
|
||||||
StatusMessage('INFO', 'Config file migration finished.');
|
StatusMessage('INFO', 'Config file migration finished.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// copy any missing default profiles
|
|
||||||
copyConfigTemplates($profiles);
|
|
||||||
|
|
||||||
if (isLAMProVersion() && $licenseValidator->isEvaluationLicense()) {
|
if (isLAMProVersion() && $licenseValidator->isEvaluationLicense()) {
|
||||||
StatusMessage('INFO', _('Evaluation Licence'));
|
StatusMessage('INFO', _('Evaluation Licence'));
|
||||||
|
|
Loading…
Reference in New Issue