method is delete here.

Implements [2427](https://www.openproject.org/issues/2427)