Moodle 2.3.1: cannot read custom parameters on course/view.php anymore

Moodle 2.3.1: cannot read custom parameters on course/view.php anymore

by Domenico Beato -
Number of replies: 0

From Moodle 1.9.x to 2.2.3 it is possible to read custom parameters for course/view.php page, from my authentication or enrolment plugin, just reading $_SESSION['SESSION']->wantsurl.

 

For example:

course/view.php?id=2&custom1=value1&custom2=value2.

In Moodle 2.3.1 $_SESSION['SESSION']->wantsurl contains the same URL but without custom params.

 

Why this change?

Is it a bug or a choise for the future?

 

Thanks

Domenico

Average of ratings: -