From 4fc819e92d9451c24594261d096d726d9acdc5f1 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 9 Mar 2012 16:01:11 +0000 Subject: [PATCH] r113416: added missing parameter to message --- includes/filerepo/backend/FileBackendStore.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/filerepo/backend/FileBackendStore.php b/includes/filerepo/backend/FileBackendStore.php index d45371c551..e96f257c8f 100644 --- a/includes/filerepo/backend/FileBackendStore.php +++ b/includes/filerepo/backend/FileBackendStore.php @@ -67,7 +67,8 @@ abstract class FileBackendStore extends FileBackend { final public function createInternal( array $params ) { wfProfileIn( __METHOD__ ); if ( strlen( $params['content'] ) > $this->maxFileSizeInternal() ) { - $status = Status::newFatal( 'backend-fail-maxsize', $params['dst'] ); + $status = Status::newFatal( 'backend-fail-maxsize', + $params['dst'], $this->maxFileSizeInternal() ); } else { $status = $this->doCreateInternal( $params ); $this->clearCache( array( $params['dst'] ) ); -- 2.20.1