mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-30722_forum_unsubscribe_22' of git://github.com/andyjdavis/moodle into MOODLE_22_STABLE
This commit is contained in:
commit
76456cf5f2
1 changed files with 3 additions and 1 deletions
|
@ -27,8 +27,10 @@ require_once("lib.php");
|
|||
$confirm = optional_param('confirm', false, PARAM_BOOL);
|
||||
|
||||
$PAGE->set_url('/mod/forum/unsubscribeall.php');
|
||||
$PAGE->set_context(get_context_instance(CONTEXT_USER, $USER->id));
|
||||
|
||||
require_login();
|
||||
// Do not autologin guest. Only proper users can have forum subscriptions.
|
||||
require_login(null, false);
|
||||
|
||||
$return = $CFG->wwwroot.'/';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue