allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [13/50] allura git commit: [#8044] remove unnecessary c.app check, since the c.app.config usage is moved out of this function now
Date Wed, 27 Jan 2016 20:22:27 GMT
[#8044] remove unnecessary c.app check, since the c.app.config usage is moved out of this function
now


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

Branch: refs/heads/hs/8035
Commit: 5adc337eb4fffd14f8c6a7f33c4bf4840d67f8b2
Parents: 1ec256c
Author: Dave Brondsema <dave@brondsema.net>
Authored: Wed Jan 27 12:37:09 2016 -0500
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Jan 27 12:37:38 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/allura/blob/5adc337e/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index e76c53c..1c65a10 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -1324,7 +1324,7 @@ class ThemeProvider(object):
 
         if note.page_regex and re.search(note.page_regex, url) is None:
             return None
-        if note.page_tool_type and (c.app is None or tool_name.lower() != note.page_tool_type.lower()):
+        if note.page_tool_type and tool_name.lower() != note.page_tool_type.lower():
             return None
 
         cookie = site_notification_cookie_value.split('-')


Mime
View raw message