moodle/mod/assignment/view.php

9 lines
181 B
PHP

<?php
require_once("../../config.php");
require_login();
$PAGE->set_context(context_system::instance());
throw new \moodle_exception('assignmentneedsupgrade', 'assignment', '');