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
  • artefact
  • internal
  • lib.php
Find file BlameHistoryPermalink
  • Nigel Cunningham's avatar
    (Bug 1364687) Don't look for an artefact record when we know we're making a new one. · f0fd10e2
    Nigel Cunningham authored Aug 06, 2014 and Robert Lyon's avatar Robert Lyon committed Feb 09, 2015
    
    
    Avoid the query for an existing artefact record when we know it doesn't
    exist (because we're being called from create_user). This shaves
    approximately 40% off the time for creating a user.
    
    Change-Id: I81697dfd0916e4a2933dfe5d1389bdc649e6e856
    Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
    f0fd10e2