Removed two unused functions

These two functions were actually not usable and only a todo since ages. I think it's better to remove it than having dead and unmaintained code.
Merge pull request #8064 from owncloud/remove-not-existing-functions

Removed two unused functions