r99539 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99538‎ | r99539 | r99540 >
Date:19:30, 11 October 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
minor fixes
Modified paths:
  • /trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
@@ -71,7 +71,7 @@
7272 * @return true
7373 */
7474 public static function onGroupNotify( SWLGroup $group, array $userIDs, SWLChangeSet $changes ) {
75 - global $egSWLMailPerChange;
 75+ global $egSWLMailPerChange, $egSWLMaxMails;
7676
7777 foreach ( $userIDs as $userID ) {
7878 $user = User::newFromId( $userID );
@@ -148,7 +148,7 @@
149149 case count( $group->getConcepts() ) > 0 :
150150 $type = 'concept';
151151 $name = $group->getConcepts();
152 - $name = $item[0];
 152+ $name = $name[0];
153153 break;
154154 }
155155