r76910 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r76909
|
r76910
|
r76911
>
Date:
22:26, 17 November 2010
Author:
reedy
Status:
ok
Tags:
Comment:
No point overriding validPost in CodeRevisionCommitter, it's exactly the same as the one in SpecialCode, just in a slightly different order, and hence also doing duplicate things
Modified paths:
/trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php
—
—
@@ -125,10 +125,4 @@
126
126
127
127
return $redirTarget;
128
128
}
129
-
130
- public function validPost( $permission ) {
131
- global $wgUser, $wgRequest;
132
- return parent::validPost( $permission ) && $wgRequest->wasPosted()
133
- && $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ) );
134
- }
135
129
}
Status & tagging log
11:06, 3 December 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r76910
[
removed:
new
added:
ok]