drop unneeded code
Merge pull request #9245 from owncloud/server2server-sharing-design-fixes

drop unneeded code