ConfirmEdit changes for r50218

This commit is contained in:
Roan Kattouw 2009-05-05 13:23:10 +00:00
parent 57a4a3972e
commit 72064bd437

View file

@ -480,7 +480,7 @@ class SimpleCaptcha {
* @return bool true to continue saving, false to abort and show a captcha form * @return bool true to continue saving, false to abort and show a captcha form
*/ */
function confirmEdit( &$editPage, $newtext, $section, $merged = false ) { function confirmEdit( &$editPage, $newtext, $section, $merged = false ) {
if( defined('API') ) { if( defined('MW_API') ) {
# API mode # API mode
# The CAPTCHA was already checked and approved # The CAPTCHA was already checked and approved
return true; return true;