Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mahara mahara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • maharamahara
  • maharamahara
  • Repository
Switch branch/tag
  • mahara
  • htdocs
  • auth
  • user.php
Find file BlameHistoryPermalink
  • Richard Mansfield's avatar
    Don't write logged out user preferences to the db (bug #1001064) · cec0820f
    Richard Mansfield authored May 18, 2012
    
    
    $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: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
    cec0820f