Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3578

hook_user does unnecessary loading on $op == 'insert'

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      There was a missing break; in the 'insert' case which caused the 'view' case to be fired. We need to be careful to keep this trim since this is a pretty intensive process. This patch also makes breaks for the other cases more consistent.

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: