MDL-21233 simplifying moodle_url->out() api

This commit is contained in:
Petr Skoda
2010-01-17 09:18:11 +00:00
parent a4a04ada39
commit 340d461269
10 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class workshop_random_allocator implements workshop_allocator {
$customdata['workshop'] = $this->workshop;
$this->mform = new workshop_random_allocator_form($PAGE->url, $customdata);
if ($this->mform->is_cancelled()) {
redirect($PAGE->url->out(false, array(), false));
redirect($PAGE->url->out_raw());
} else if ($settings = $this->mform->get_data()) {
// process validated data
if (!confirm_sesskey()) {