MDL-14461:

The user must be (effectively) be logged in to use this function.
Adding the logged in check means they will be asked if they are not (like
everywhere else).

Merged from STABLE19
This commit is contained in:
thepurpleblob 2008-04-23 08:47:27 +00:00
parent 09ee7b0d9e
commit e47878d870

View File

@ -14,6 +14,8 @@
require_once dirname(dirname(dirname(__FILE__))) . '/config.php';
require_login();
if (!is_enabled_auth('mnet')) {
print_error('mnet is disabled');
}