Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
[toast/cookiecaptcha.git] / ConfirmEdit_body.php
index 291fb83d1b7e8a38d5d80d5e728cc3f56d3907c2..c1503b8fbfb1b5986654f5a40a90073a7ed8a5e3 100644 (file)
@@ -6,10 +6,6 @@ class ConfirmEditHooks {
                static $done = false;
                if ( !$done ) {
                        $done = true;
-                       wfLoadExtensionMessages( 'ConfirmEdit' );
-                       if ( isset( $wgExtensionMessagesFiles[$wgCaptchaClass] ) ) {
-                               wfLoadExtensionMessages( $wgCaptchaClass );
-                       }
                        $wgCaptcha = new $wgCaptchaClass;
                }
                return $wgCaptcha;