Index: trunk/extensions/MoodBar/include/MoodBarHTMLEmailNotification.php |
— | — | @@ -138,8 +138,6 @@ |
139 | 139 | global $wgEnotifUseRealName, $wgRequest; |
140 | 140 | |
141 | 141 | $this->composed_common = true; |
142 | | - |
143 | | - $keys = array(); |
144 | 142 | |
145 | 143 | if ( $this->editor->isAnon() ) { |
146 | 144 | $pageEditor = wfMsgForContent( 'enotif_anon_editor', $this->editor->getName() ); |
— | — | @@ -151,7 +149,6 @@ |
152 | 150 | $this->subject = wfMessage( 'moodbar-enotif-subject' )->params( $pageEditor )->escaped(); |
153 | 151 | |
154 | 152 | // build the body |
155 | | - $messageCache = MessageCache::singleton(); |
156 | 153 | $targetUserName = $this->targetUser->getName(); |
157 | 154 | $links = $this->buildEmailLink(); |
158 | 155 | |
— | — | @@ -162,7 +159,6 @@ |
163 | 160 | $this->response, |
164 | 161 | $links['targetUserTalkPageUrl'], |
165 | 162 | $pageEditor )->escaped(); |
166 | | - $textBody = MessageCache::singleton()->transform( $textBody, false, null, $this->title ); |
167 | 163 | |
168 | 164 | //html version, this is a little bit ugly as we have to make wiki link clickable in emails |
169 | 165 | $action = $wgRequest->getVal( 'action' ); |