* Avoid missing argument errors to recordUpload() on image reverts

This commit is contained in:
Ævar Arnfjörð Bjarmason 2005-09-04 15:51:29 +00:00
parent 568e8f946d
commit d138f74c78

View file

@ -1253,7 +1253,7 @@ class Image
/**
* Record an image upload in the upload log and the image table
*/
function recordUpload( $oldver, $desc, $license, $copyStatus = '', $source = '' ) {
function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '' ) {
global $wgUser, $wgLang, $wgTitle, $wgDeferredUpdateList;
global $wgUseCopyrightUpload, $wgUseSquid, $wgPostCommitUpdateList;