r65936 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r65935
|
r65936
|
r65937
>
Date:
02:42, 5 May 2010
Author:
werdna
Status:
ok
Tags:
Comment:
Some weird people are using HTMLForm without a submission callback.
Modified paths:
/trunk/phase3/includes/HTMLForm.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/HTMLForm.php
—
—
@@ -195,9 +195,6 @@
196
196
if ( ! $this->mTitle ) {
197
197
throw new MWException( "You must call setTitle() on an HTMLForm" );
198
198
}
199
- if ( ! $this->mSubmitCallback ) {
200
- throw new MWException( "You must set a submission callback" );
201
- }
202
199
203
200
$html = '';
204
201
Status & tagging log
03:51, 5 May 2010
MarkAHershberger
(
talk
|
contribs
)
changed the
status
of r65936
[
removed:
new
added:
ok]