mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-49906-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
62fc688bac
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ require_once(__DIR__ . '/lib.php');
|
|||
// Only real logged in users.
|
||||
require_login(null, false, null, true, true);
|
||||
if (isguestuser()) {
|
||||
throw new require_login_exception();
|
||||
throw new require_login_exception('Guests are not allowed here.');
|
||||
}
|
||||
|
||||
// Messaging needs to be enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue