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:
5987006
)
Removing a comment, throwing the exception after creating it.
author
Rotem Liss
<rotem@users.mediawiki.org>
Tue, 30 Oct 2007 09:48:36 +0000
(09:48 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Tue, 30 Oct 2007 09:48:36 +0000
(09:48 +0000)
includes/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/SpecialUpload.php
b/includes/SpecialUpload.php
index
5eed9ad
..
9ef7bd4
100644
(file)
--- a/
includes/SpecialUpload.php
+++ b/
includes/SpecialUpload.php
@@
-345,10
+345,7
@@
class UploadForm {
break;
default:
- /* TODO: Each case returns instead of breaking to maintain the highest level of compatibility during branch merging.
- They should be reviewed and corrected separatelly.
- */
- new MWException( __METHOD__ . ": Unknown value `{$value}`" );
+ throw new MWException( __METHOD__ . ": Unknown value `{$value}`" );
}
}