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:
6cb0de8
)
Some weird people are using HTMLForm without a submission callback.
author
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 5 May 2010 02:42:03 +0000
(
02:42
+0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 5 May 2010 02:42:03 +0000
(
02:42
+0000)
includes/HTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
636e0d0
..
e61bbba
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-195,9
+195,6
@@
class HTMLForm {
if ( ! $this->mTitle ) {
throw new MWException( "You must call setTitle() on an HTMLForm" );
}
- if ( ! $this->mSubmitCallback ) {
- throw new MWException( "You must set a submission callback" );
- }
$html = '';