Skip to content

Commit

Permalink
MDL-48174 tool_langimport: info about skipped update
Browse files Browse the repository at this point in the history
So admins can work out why the task might not be having an effect.
  • Loading branch information
danpoltawski committed Nov 12, 2014
1 parent 4c4d53e commit c8900a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/tool/langimport/classes/task/update_langpacks_task.php
Expand Up @@ -47,8 +47,9 @@ public function get_name() {
public function execute() {
global $CFG;

// No need to run upgrade, if skiplangupgrade is set.
if (!empty($CFG->skiplangupgrade)) {
mtrace('Langpack update skipped. ($CFG->skiplangupgrade set)');

return;
}

Expand Down

0 comments on commit c8900a5

Please sign in to comment.