Page MenuHomePhabricator

Check if old email block is still needed
Closed, ResolvedPublic

Description

In CommonSettings.php:

# # Hack to block emails from some user who likes 'The Joker' --Andrew 2009-05-28
$wgHooks['EmailUser'][] = function ( &$to, &$from, &$subject, &$text ) {
	$blockedAddresses = [ 'the4joker@gmail.com', 'randomdude5555@gmail.com', 'siyang.li@yahoo.com', 'johnnywiki@gmail.com', 'wikifreedomfighter@googlemail.com' ];
	return !in_array( $from->address, $blockedAddresses );
};

We need to check if this code still blocks anything, and remove it if it doesn't.

Event Timeline

Do we have any logging of emails sent?

After a week, nothing in logs - removing.

MaxSem claimed this task.
MaxSem changed the visibility from "Custom Policy" to "Public (No Login Required)".