You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2014/03/05 17:24:42 UTC

[5/5] git commit: [#6301] Removed now redundant merge request notification

[#6301] Removed now redundant merge request notification

The merge-request-changed discussion thread post will generate a
notification, so this one is no longer needed.

Signed-off-by: Cory Johns <cj...@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/2bc9d55c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/2bc9d55c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/2bc9d55c

Branch: refs/heads/master
Commit: 2bc9d55c4c05b74d54d1bbf8d275e8fd8c0745da
Parents: dc1b7eb
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Wed Mar 5 16:23:11 2014 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Wed Mar 5 16:23:14 2014 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/repository.py | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/2bc9d55c/Allura/allura/controllers/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/repository.py b/Allura/allura/controllers/repository.py
index 9cf6bfa..aabc467 100644
--- a/Allura/allura/controllers/repository.py
+++ b/Allura/allura/controllers/repository.py
@@ -426,10 +426,6 @@ class MergeRequestController(object):
 
         message = self.tmpl.render(changes=changes)
         self.req.discussion_thread.add_post(text=message, is_meta=True)
-
-        M.Notification.post(
-            self.req, 'merge_request',
-            subject='Merge request: ' + self.req.summary)
         redirect(self.req.url())
 
     @expose()