MDL-48174 tool_langimport: info about skipped update

So admins can work out why the task might not be having an effect.
This commit is contained in:
Dan Poltawski
2014-11-12 11:22:45 +00:00
parent 4c4d53ebaf
commit c8900a5152
@@ -47,8 +47,9 @@ class update_langpacks_task extends \core\task\scheduled_task {
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;
}