diff --git a/lib.php b/lib.php index 5463d01..6ed97d7 100644 --- a/lib.php +++ b/lib.php @@ -42,3 +42,17 @@ function exp360_delete_instance($id) return true; } + +function mod_exp360_cm_info_dynamic(cm_info $cm) +{ + global $PAGE, $DB; + + if ($cm->modname !== 'exp360') { + return; + } + + $script = ""; + + $cm->set_no_view_link(); + $cm->set_content($script); +}