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:
jamiesensei
2007-05-07 07:13:14 +00:00
parent f86c2c84b1
commit 64eeaf4753
4 changed files with 2 additions and 8 deletions
+1 -3
View File
@@ -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