Index: trunk/phase3/includes/filerepo/backend/FileBackendStore.php |
— | — | @@ -67,7 +67,8 @@ |
68 | 68 | final public function createInternal( array $params ) { |
69 | 69 | wfProfileIn( __METHOD__ ); |
70 | 70 | if ( strlen( $params['content'] ) > $this->maxFileSizeInternal() ) { |
71 | | - $status = Status::newFatal( 'backend-fail-maxsize', $params['dst'] ); |
| 71 | + $status = Status::newFatal( 'backend-fail-maxsize', |
| 72 | + $params['dst'], $this->maxFileSizeInternal() ); |
72 | 73 | } else { |
73 | 74 | $status = $this->doCreateInternal( $params ); |
74 | 75 | $this->clearCache( array( $params['dst'] ) ); |