From d138f74c78164c6116f6f55dcade23f848fbce85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 4 Sep 2005 15:51:29 +0000 Subject: [PATCH] * Avoid missing argument errors to recordUpload() on image reverts --- includes/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1