MDL-43089 Fix remove question.

Also, remove from unused code from editlib.php