r113416: added missing parameter to message
[lhc/web/wiklou.git] / includes / filerepo / backend / FileBackendStore.php
index d45371c..e96f257 100644 (file)
@@ -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'] ) );