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

isDeleteRelatedMembership() should be declared as static

    Details

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

      Description

      The function isDeleteRelatedMembership should be declared as static in the file CRM/Contact/BAO/Relationship.php, line 1324.
      Because this function is called with self:: on line 1311 of the same file.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              alainb Alain Benbassat
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified