Commit 6575aab6 authored by Melissa Draper's avatar Melissa Draper
Browse files

remove special greetings (bug 758382)



Change-Id: I18ed5c9964a234e4d1d7e55c02ef61308c88b894
Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
parent 25978130
......@@ -140,16 +140,7 @@ if (isset($key)) {
$USER = new LiveUser();
$USER->reanimate($user->id, $authinstance->id);
// A special greeting for special people
if (in_array($user->username, array('waawaamilk', 'Mjollnir`', 'Ned', 'richardm', 'fmarier', 'naveg'))) {
$SESSION->add_ok_msg('MAMA!!! Maharababy happy to see you :D :D!');
}
else if ($user->username == 'htaccess') {
$SESSION->add_ok_msg('Welcome B-Quack, htaccess!');
}
else {
$SESSION->add_ok_msg(get_string('registrationcomplete', 'mahara', get_config('sitename')));
}
$SESSION->add_ok_msg(get_string('registrationcomplete', 'mahara', get_config('sitename')));
$SESSION->set('resetusername', true);
redirect();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment