You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/04/01 23:11:02 UTC

[45/45] allura git commit: [#7072] User can't access personal subscriptions page [ss6565]

[#7072] User can't access personal subscriptions page [ss6565]


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

Branch: refs/heads/hss/7072
Commit: 0f7253c7b802690667b7028daa6d4fc8f43ac161
Parents: 758b51b
Author: Heith Seewald <hs...@slashdotmedia.com>
Authored: Wed Apr 1 17:09:40 2015 -0400
Committer: Heith Seewald <hs...@slashdotmedia.com>
Committed: Wed Apr 1 17:09:40 2015 -0400

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/0f7253c7/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index e874a17..1aa2d08 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -860,7 +860,7 @@ class SubscriptionsController(BaseController):
             project = projects.get(mb.project_id, None)
             app_config = app_index.get(mb.app_config_id, None)
             if project is None:
-                mb.m.delete()
+                mb.query.delete()
                 continue
             if app_config is None:
                 continue