mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-49008_lang_vanish' of https://github.com/andyjdavis/moodle
This commit is contained in:
commit
5a3fe24392
@ -326,7 +326,7 @@ class component_installer {
|
||||
@remove_dir($destinationcomponent.'_old'); // Deleting a possible old version.
|
||||
|
||||
// Moving to a safe place.
|
||||
$moveresult = rename($destinationcomponent, $destinationcomponent.'_old');
|
||||
$moveresult = @rename($destinationcomponent, $destinationcomponent.'_old');
|
||||
if (!$moveresult) {
|
||||
debugging("Failed to rename {$destinationcomponent} to {$destinationcomponent}_old while installing a language");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user