This commit is contained in:
Cyberes 2020-10-24 19:11:52 -06:00
parent 980b19591b
commit acea0a75b9
1 changed files with 7 additions and 5 deletions

View File

@ -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');