From: OverlordQ Date: Thu, 22 Oct 2009 08:22:32 +0000 (+0000) Subject: Followup to r57868: some maint scripts still call recordUpload which did not get... X-Git-Tag: 1.31.0-rc.0~39189 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=ce9d0d34338d0228ec3212389625248097ab8f66;p=lhc%2Fweb%2Fwiklou.git Followup to r57868: some maint scripts still call recordUpload which did not get updated when getInitialPageText was moved to a different class --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index ce70ea2e06..e0e814f0f2 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -778,7 +778,7 @@ class LocalFile extends File function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '', $watch = false, $timestamp = false ) { - $pageText = UploadForm::getInitialPageText( $desc, $license, $copyStatus, $source ); + $pageText = SpecialUpload::getInitialPageText( $desc, $license, $copyStatus, $source ); if ( !$this->recordUpload2( $oldver, $desc, $pageText ) ) { return false; }