Merge branch 'MDL-49906-master' of git://github.com/lameze/moodle

This commit is contained in:
Dan Poltawski 2015-05-18 14:04:10 +01:00
commit 62fc688bac
2 changed files with 2 additions and 2 deletions

View file

@ -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.