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

          [CRM-3578] hook_user does unnecessary loading on $op == 'insert'
          Piotr Szotkowski added a comment -

          Verified on v2.1 r18157.

          Sunil Pawar added a comment -

          Verified in r18931

            People

            • Assignee:
              Sunil Pawar
              Reporter:
              dave hansen-lange

              Dates

              • Created:
                Updated:
                Resolved: