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)
This commit is contained in:
thepurpleblob
2008-04-23 08:45:29 +00:00
parent 82b04884f3
commit a2e867b092
+2
View File
@@ -14,6 +14,8 @@
require_once dirname(dirname(dirname(__FILE__))) . '/config.php';
require_login();
if (!is_enabled_auth('mnet')) {
error('mnet is disabled');
}