Corrections concerning compatibility with owncloud 7.