From: Ævar Arnfjörð Bjarmason Date: Sun, 4 Sep 2005 15:51:29 +0000 (+0000) Subject: * Avoid missing argument errors to recordUpload() on image reverts X-Git-Tag: 1.6.0~1726 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=d138f74c78164c6116f6f55dcade23f848fbce85;p=lhc%2Fweb%2Fwiklou.git * Avoid missing argument errors to recordUpload() on image reverts --- diff --git a/includes/Image.php b/includes/Image.php index bbf1d428c9..8076a71f37 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -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;