incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [4/5] git commit: [#2834] ticket:178 don't re-subscribe admins to all tools when project is updated
Date Wed, 07 Nov 2012 20:05:09 GMT
[#2834] ticket:178 don't re-subscribe admins to all tools when project is updated


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

Branch: refs/heads/master
Commit: 396419affa1e4fbcee22a1374e179c72eda4d897
Parents: 80bf6d2
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Sep 27 14:33:27 2012 +0300
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Nov 7 19:59:42 2012 +0000

----------------------------------------------------------------------
 Allura/allura/app.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/396419af/Allura/allura/app.py
----------------------------------------------------------------------
diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index c3154eb..e8800d0 100644
--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -399,8 +399,3 @@ class DefaultAdminController(BaseController):
             self.app.config.acl += [
                 model.ACE.allow(r, perm) for r in role_ids]
         redirect(request.referer)
-
-@event_handler('project_updated')
-def subscribe_admins(topic):
-    for ac in c.project.app_configs:
-        c.project.app_instance(ac).subscribe_admins()


Mime
View raw message