Skip to content

Commit

Permalink
Merge branch 'MDL-49008_lang_vanish' of https://github.com/andyjdavis…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 24, 2015
2 parents fdc30bd + 21b859e commit 5a3fe24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/componentlib.class.php
Expand Up @@ -326,7 +326,7 @@ function install() {
@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");
}
Expand Down

0 comments on commit 5a3fe24

Please sign in to comment.