From: Aaron Schulz Date: Fri, 9 Mar 2012 16:01:11 +0000 (+0000) Subject: r113416: added missing parameter to message X-Git-Tag: 1.31.0-rc.0~24322 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=4fc819e92d9451c24594261d096d726d9acdc5f1;p=lhc%2Fweb%2Fwiklou.git r113416: added missing parameter to message --- 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'] ) );