Removing unneeded logic from group manager

resolves https://github.com/owncloud/core/issues/10513