MDL-54623 mod_assign: Unit test for list_participants()
[moodle.git] / mod / feedback / complete_guest.php
blob819cb7668627f6814692745aa5c984b9c49b4263
1 <?php
2 // This file is part of Moodle - http://moodle.org/
3 //
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17 /**
18 * prints the form so an anonymous user can fill out the feedback on the mainsite
20 * @author Andreas Grabs
21 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
22 * @package mod_feedback
25 require_once("../../config.php");
27 // This file is no longer used, however it will remain here to redirect existing links to complete.php.
28 $url = new moodle_url('/mod/feedback/complete.php');
29 foreach ($_GET as $key => $value) {
30 $url->param($key, $value);
32 redirect($url);