[stable7] Add missing argument

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