mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09180
[Bug 1001064] A change has been merged
Reviewed: https://reviews.mahara.org/1222
Committed: http://gitorious.org/mahara/mahara/commit/cec0820fd855e744249ba9bf27c3ead15f4eeb8b
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch: master
commit cec0820fd855e744249ba9bf27c3ead15f4eeb8b
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date: Fri May 18 13:39:05 2012 +1200
Don't write logged out user preferences to the db (bug #1001064)
$USER->set_account_preferences() always saves preferences to the
usr_account_preference table as well as to $USER. Adding a test for
the user's id means that this function can be safely called on a
logged-out user.
Change-Id: Ieab78c5fbf30647dbb5dce10e960afb260c8dd1f
Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1001064
Title:
Basic support for theming logged-out users
Status in Mahara ePortfolio:
In Progress
Bug description:
Some custom sites wish to allow logged-out users to be able to change
their themes, and have those themes saved during registration. There
are a few things that can be done to make this easier:
- let user preferences be saved in the session only, rather than in the database
- add some local hooks for updating themes when a page is initialised
- add local hooks to allow any logged-out user preferences to be saved during registration, while waiting for email confirmation or institution approval.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1001064/+subscriptions
References