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

Add missing argument