Comment 4 for bug 1353153

Reviewed: https://reviews.mahara.org/3574
Committed: http://gitorious.org/mahara/mahara/commit/e96eee4c7a8738b074da8063fc67afa09a1bb6fe
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit e96eee4c7a8738b074da8063fc67afa09a1bb6fe
Author: Robert Lyon <email address hidden>
Date: Wed Aug 6 10:48:07 2014 +1200

Logout setting of cookie breaks upgrade from pre 1.9 to 1.9+ (Bug #1353153)

If the user who is upgrading the site is logged into the site and is a
member of a normal (not mahara) institution it causes the upgrade to
break because the upgrade process tries to log them out and logout()
function tries to set a cookie and the cookie needs info from the
config_institution table and it doesn't exist yet.

Change-Id: Ib8bb83fc1b774cec5636af6009ebf9906349bca3
Signed-off-by: Robert Lyon <email address hidden>