This commit is contained in:
parent
980b19591b
commit
acea0a75b9
|
@ -61,6 +61,8 @@ class SpecialContact extends UnlistedSpecialPage
|
|||
*/
|
||||
public function execute($par)
|
||||
{
|
||||
global $wgReCaptchaSiteKey, $wgReCaptchaSecretKey;
|
||||
|
||||
if (!$this->getConfig()->get('EnableEmail')) {
|
||||
// From Special:EmailUser
|
||||
throw new ErrorPageError('usermaildisabled', 'usermaildisabledtext');
|
||||
|
|
Loading…
Reference in New Issue