Page MenuHomePhabricator

Check if old email block is still needed
Closed, ResolvedPublic


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 = [ '', '', '', '', '' ];
	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)".