Remove dead code
Merge pull request #11357 from owncloud/kill-dead-code

Remove dead code