Skip to content
Snippets Groups Projects
Commit 49215eb1 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

modifying the engine no longer needed

parent 0d31aec9
No related branches found
No related tags found
No related merge requests found
......@@ -50,21 +50,7 @@ http://ucommjuhl.unl.edu/UNL_Elgg/elgg, change it!)
*******
** Changes made to the Elgg engine for UNL's implementation (changes made inside the elgg directory)
*******
-Altered /elgg/engine/lib/users.php to bar registration of accounts starting with "unl_"
function register_user($username, $password, $name, $email, $allow_multiple_emails = false, $friend_guid = 0, $invitecode = '', $isfromSSO = false) {
// Check to see if $username begins with "unl_"
if($isfromSSO==false)
{
if ( "unl_" == substr($username,0,4) ) {
//return false;
throw new RegistrationException("Username cannot begin with 'unl_'");
}
}
*******
** Plugin info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment