diff MoinMoin/themes/__init__.py @ 1278:2c58cbcfeabe

quicklinks/subscribed_items: use attributes directly, simplify code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 03 Mar 2012 17:30:58 +0100
parents 18cb4213fc4d
children 0a70177ce4de
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sat Mar 03 16:37:14 2012 +0100
+++ b/MoinMoin/themes/__init__.py	Sat Mar 03 17:30:58 2012 +0100
@@ -220,8 +220,7 @@
                  for cls, endpoint, args, link_text, title in self.cfg.navi_bar]
 
         # Add user links to wiki links.
-        userlinks = self.user.getQuickLinks()
-        for text in userlinks:
+        for text in self.user.quicklinks:
             url, link_text, title = self.split_navilink(text)
             items.append(('userlink', url, link_text, title))