MDL-58490 block_myoverview: add missing completionlib include
authorSimey Lameze <simey@moodle.com>
Fri, 21 Apr 2017 02:33:36 +0000 (10:33 +0800)
committerSimey Lameze <simey@moodle.com>
Fri, 21 Apr 2017 02:33:36 +0000 (10:33 +0800)
blocks/myoverview/classes/output/main.php

index e7896e0..6215a5a 100644 (file)
@@ -29,6 +29,8 @@ use renderer_base;
 use templatable;
 use core_completion\progress;
 
+require_once($CFG->libdir . '/completionlib.php');
+
 /**
  * Class containing data for my overview block.
  *