r48833 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48832‎ | r48833 | r48834 >
Date:15:30, 25 March 2009
Author:ashley
Status:deferred
Tags:
Comment:
SocialProfile: apply r7226 (http://trac.wikia-code.com/changeset/7226) from wikia codebase (send email if gift was added to db)
Modified paths:
  • /trunk/extensions/SocialProfile/SystemGifts/UserSystemGiftsClass.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/SystemGifts/UserSystemGiftsClass.php
@@ -46,7 +46,7 @@
4747 //add to new gift count cache for receiving user
4848 $this->incNewSystemGiftCount($this->user_id);
4949
50 - if( $email ) $this->sendGiftNotificationEmail( $this->user_id, $gift_id );
 50+ if( $email && !empty( $sg_gift_id ) ) $this->sendGiftNotificationEmail( $this->user_id, $gift_id );
5151 $wgMemc->delete( wfMemcKey( 'user', 'profile', 'system_gifts', $this->user_id ) );
5252 return $sg_gift_id;
5353 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r7226BUG#1131 Fix headings containing interwiki linksjeluf09:34, 22 January 2005

Status & tagging log