Add missed parameter
Merge pull request #338 from owncloud/stable6-fix-core-10350

[stable6] Add missing argument