Fix compilation error

Some dead code removed on trunk wasn't dead on this branch.

Target: 2.8
Patch: none