User "Nikerabbit" posted a comment on MediaWiki.r94727.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94727#c21064
Commit summary:

Added support for specifying multiple (up to 10) addresses

Comment:

Hmm right you are only exploding it for validation. But still, it is only two 
lines of code, and trim removes almost all those characters:

 $f = array_map( 'trim', explode( ',', $receivers ) );
 $receivers = implode( ', ', $f );

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to