buddypress/tests
Mathieu Viet 3b5103b21b Only delete the "new_blog" activity when its author is removed from the Blog.
Before this commit, as soon as any contributor was removed from the blog, the "new_blog" activity was also removed although the removed user was not the author of the activity.
It is no more the case. This activity will only be deleted if the user who created the blog is removed from it.
This commit also make sure this activity is not deleted twice as some duplicate code has been left when moving the activity code inside the `bp-blogs-activity.php` file during the 2.6 dev-cycle.

See #7199 (branch 2.6)

git-svn-id: https://buddypress.svn.wordpress.org/branches/2.6@10970 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2016-07-30 11:36:02 +00:00
..
phpunit Only delete the "new_blog" activity when its author is removed from the Blog. 2016-07-30 11:36:02 +00:00