Commit 226460ec authored by Nigel McNie's avatar Nigel McNie
Browse files

Remove some bunk code around setting the 'institution' cookie, which was only...

Remove some bunk code around setting the 'institution' cookie, which was only used for auto populating the institution dropdown in the login box, which we don't have anymore.
parent 8a777e1c
......@@ -830,10 +830,6 @@ function auth_draw_login_page($message=null, Pieform $form=null) {
*/
function auth_get_login_form() {
$institutions = get_records_menu('institution', '', '', 'name, displayname');
$defaultinstitution = get_cookie('institution');
if (!$defaultinstitution) {
$defaultinstitution = 'mahara';
}
$elements = array(
'login_username' => array(
......
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