Remove unused argument

Backport of https://github.com/owncloud/documents/pull/323 to stable7