Skip to content

Commit

Permalink
fix(upgrade): reset system cache before upgrade
Browse files Browse the repository at this point in the history
This allows to be able to use new language keys during upgrade.

Fixes #6249
  • Loading branch information
jdalsem committed Feb 24, 2015
1 parent 256df5b commit 468d1c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upgrade.php
Expand Up @@ -94,6 +94,9 @@
'forward' => $forward_url
);

// reset cache to have latest translations available during upgrade
elgg_reset_system_cache();

echo elgg_view_page(elgg_echo('upgrading'), '', 'upgrade', $vars);
exit;
}
Expand Down

0 comments on commit 468d1c4

Please sign in to comment.