FileOp: allow creation of an empty file
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 23 Jan 2012 14:48:49 +0000 (14:48 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 23 Jan 2012 14:48:49 +0000 (14:48 +0000)
commited90f5548f6e1c9987e178dbe698ee9e2e49ebbb
treead5a3d6d89df64d8bf52142f183b5d0e5898e3f8
parent71abcf2f4c216e68f8094d5b37393f17142da661
FileOp: allow creation of an empty file

When creating a file but ommitting the 'content' key, it would throw
a notice. Using getParams let us forget about the 'content' key and
hence create files with no content.
includes/filerepo/backend/FileOp.php