Skip to content

Commit 5af0bd1

Browse files
committed
Link to purge cache.
1 parent 8681463 commit 5af0bd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bulktestall.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
$PAGE->set_context($testcontext); // Helps grading cache pickup right course id.
7979
$bulktester = new bulk_tester($testcontext);
8080
echo $OUTPUT->heading(get_string('bulktesttitle', 'qtype_coderunner', $testcontext->get_context_name()));
81-
echo html_writer::tag('p', 'Note: Grading cache not cleared -- do it from admin-plugins-cache if you really want to clear the cache for all course!');
81+
$adminpluginscachelink = html_writer::link(new moodle_url('/admin/purgecaches.php'), 'admin-plugins-cache', ['target' => '_blank']);
82+
echo html_writer::tag('p', 'Note: Grading cache not cleared -- do it from ' . $adminpluginscachelink . ' if you really want to clear the cache for all course!');
8283
echo html_writer::tag('p', html_writer::link(
8384
new moodle_url(
8485
'/question/type/coderunner/bulktestall.php',

0 commit comments

Comments
 (0)