Merge branch 'MDL-58490-master' of git://github.com/lameze/moodle
[moodle.git] / blocks / myoverview / classes / output / main.php
index ee34bd3..e7896e0 100644 (file)
@@ -72,6 +72,7 @@ class main implements renderable, templatable {
         $noeventsurl = $output->image_url('activities', 'block_myoverview')->out();
 
         return [
+            'midnight' => usergetmidnight(time()),
             'coursesview' => $coursesview->export_for_template($output),
             'urls' => [
                 'nocourses' => $nocoursesurl,