removed all session fromurl and returnurl stuff from question bank editing code. Returnurls are now passed as get/post params.
This commit is contained in:
@@ -425,9 +425,7 @@ function question_list($course, $pageurl, $categoryid, $cm = null,
|
||||
* @param moodle_url $pageurl object representing this pages url.
|
||||
*/
|
||||
function question_showbank($pageurl, $cm, $page, $perpage, $sortorder, $sortorderdecoded, $cat, $recurse, $showhidden, $showquestiontext){
|
||||
global $SESSION, $COURSE;
|
||||
|
||||
$SESSION->fromurl = $pageurl->out();
|
||||
global $COURSE;
|
||||
|
||||
/// Now, check for commands on this page and modify variables as necessary
|
||||
if (isset($_REQUEST['move']) and confirm_sesskey()) { /// Move selected questions to new category
|
||||
|
||||
Reference in New Issue
Block a user