allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [07/50] git commit: [#6301] Removed now redundant merge request notification
Date Tue, 25 Mar 2014 14:27:05 GMT
[#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 <cjohns@slashdotmedia.com>


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

Branch: refs/heads/db/5995
Commit: 2bc9d55c4c05b74d54d1bbf8d275e8fd8c0745da
Parents: dc1b7eb
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Wed Mar 5 16:23:11 2014 +0000
Committer: Cory Johns <cjohns@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/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()


Mime
View raw message