Permalink
Browse files

MDL-48174 tool_langimport: info about skipped update

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 c8900a515254622d150c307a185248dedad5047d
Showing with 2 additions and 1 deletion.
  1. +2 −1 admin/tool/langimport/classes/task/update_langpacks_task.php
@@ -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;
}

0 comments on commit c8900a5

Please sign in to comment.