EBernhardson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/111640

Change subject: Revert "Remove redundant params"
......................................................................

Revert "Remove redundant params"

This reverts commit ff0c580e0d823d8fcdda58ccf84591c5624b4d1e.

Change-Id: I93c1ff0ba5990d90b1011d9f6a7bbb4071b685a3
---
M includes/Block/Topic.php
M includes/Notifications/Controller.php
2 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/40/111640/1

diff --git a/includes/Block/Topic.php b/includes/Block/Topic.php
index 2068a7c..f81b43c 100644
--- a/includes/Block/Topic.php
+++ b/includes/Block/Topic.php
@@ -190,6 +190,7 @@
                                'flow-post-reply',
                                array(
                                        'reply-to' => $post,
+                                       'content' => 
$this->submitted['content'],
                                        'topic-title' => 
$this->loadTopicTitle()->getContent( 'wikitext' ),
                                )
                        );
@@ -320,6 +321,7 @@
                $this->setNotification(
                        'flow-post-edited',
                        array(
+                               'content' => $this->submitted['content'],
                                'topic-title' => 
$this->loadTopicTitle()->getContent( 'wikitext' ),
                        )
                );
diff --git a/includes/Notifications/Controller.php 
b/includes/Notifications/Controller.php
index 12681a5..21237b7 100644
--- a/includes/Notifications/Controller.php
+++ b/includes/Notifications/Controller.php
@@ -73,6 +73,7 @@
                        return;
                }
 
+               $events = array();
                $title = $data['title'];
                $user = $data['user'];
 

-- 
To view, visit https://gerrit.wikimedia.org/r/111640
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I93c1ff0ba5990d90b1011d9f6a7bbb4071b685a3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: wmf/1.23wmf12
Gerrit-Owner: EBernhardson <[email protected]>

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

Reply via email to