geoadmin/mf-geoadmin3 — pull request #1183 by loicgasser (2014-03-03 16:34:36+00:00)
Title: Fix delete all features method

Apparently this should fix the delete all issue.

I believe selected features are also cleared with:

layer.getSource().clear();

@oterral Feel free to merge to fix it your way.