Remove unused code

We don't support direct updates from older ownCloud versions except the previous one therefore this code is unused and can be removed.
Merge pull request #12220 from owncloud/remove-unused-code

Remove unused code