r93121 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93120‎ | r93121 | r93122 >
Date:21:23, 25 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
@@ -77,9 +77,8 @@
7878 $user = User::newFromId( $userID );
7979
8080 if ( $user->getOption( 'swl_email', false ) ) {
81 - $realFunction = array( 'Sanitizer', 'validateEmail' );
8281
83 - if ( !method_exists( $realFunction ) || Sanitizer::validateEmail( $user->getEmail() ) ) {
 82+ if ( !method_exists( 'Sanitizer', 'validateEmail' ) || Sanitizer::validateEmail( $user->getEmail() ) ) {
8483 $lastNotify = $user->getOption( 'swl_last_notify' );
8584 $lastWatch = $user->getOption( 'swl_last_watch' );
8685

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93118fix compat with 1.17jeroendedauw21:14, 25 July 2011