dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d28b9e
)
LIMIT_SML2, LIMIT_BIG2 are in ApiBase, not ApiMain
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 22 Jul 2010 21:52:06 +0000
(21:52 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 22 Jul 2010 21:52:06 +0000
(21:52 +0000)
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
f3c3e4e
..
7c51ca6
100644
(file)
--- a/
includes/api/ApiUpload.php
+++ b/
includes/api/ApiUpload.php
@@
-270,7
+270,9
@@
class ApiUpload extends ApiBase {
$this->verifyUpload();
$warnings = $this->checkForWarnings();
- if ( isset( $warnings ) ) return $warnings;
+ if ( isset( $warnings ) ) {
+ return $warnings;
+ }
// Use comment as initial page text by default
if ( is_null( $this->mParams['text'] ) ) {