Remove an unnecessary bad statement

Probably missed by #1118. The functionality should now be provided in the activity log code.