. /** * Redirect the user to the appropriate submission related page * * Note that grading disabled in lib.php. * * @package mod_appstream * @copyright 2018 Amazon.com, Inc. and its affiliates. All Rights Reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 */ //NOTE: The AppStream Plugin does not support grading. It is disabled in lib.php. require_once(__DIR__ . "../../../config.php"); $id = required_param('id', PARAM_INT);// Course module ID. // Item number may be != 0 for activities that allow more than one grade per user. $itemnumber = optional_param('itemnumber', 0, PARAM_INT); $userid = optional_param('userid', 0, PARAM_INT); // Graded user ID (optional). // In the simplest case just redirect to the view page. redirect('view.php?id='.$id);