mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
Merge branch 'MDL-55993-35' of https://github.com/albertolarah/moodle into MOODLE_35_STABLE
This commit is contained in:
commit
e7dc32ad80
1 changed files with 4 additions and 1 deletions
|
@ -275,7 +275,10 @@ class assign {
|
|||
public function get_return_params() {
|
||||
global $PAGE;
|
||||
|
||||
$params = array();
|
||||
if (!WS_SERVER) {
|
||||
$params = $PAGE->url->params();
|
||||
}
|
||||
unset($params['id']);
|
||||
unset($params['action']);
|
||||
return $params;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue