Add missed parameter
Merge pull request #337 from owncloud/stable7-fix-core-10350

[stable7] Add missing argument