[stable6] Add missing argument

backport of https://github.com/owncloud/documents/pull/336 to stable6