~vcs-imports/buddypress/trunk

Viewing all changes in revision 9273.

  • Committer: r-a-y
  • Date: 2018-07-10 17:05:15 UTC
  • Revision ID: svn-v4:cdf35c40-ae34-48e0-9cc9-0c9da1808c22:trunk:12186
Friends: Fix fatal error when the Activity component is disabled and when attempting to remove a friend.

During some refactoring to only load the Friends activity module
conditionally (r11932), a spot was missed during the remove friends
routine, causing a fatal error if the Activity component is disabled.

Props thejimmy.
Anti-props r-a-y.

See #7920 (trunk)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: