--- ./mentalwealth.py	2011-08-25 11:24:01.000000000 -0400
+++ ../mentalwealth 2/mentalwealth.py	2009-02-22 23:48:20.000000000 -0500
@@ -8,11 +8,10 @@
 
 	For more info see the readme.html.
 """
-from MoinMoin.action import get_available_actions
 from MoinMoin.theme import ThemeBase
-from MoinMoin.wikiutil import link_tag as link
+from MoinMoin.wikiutil import link_tag as link
 from MoinMoin.wikiutil import quoteWikinameURL as quoteURL
-from MoinMoin.Page import Page
+from MoinMoin.Page import Page
 
 MOREACTIONS = True
 
@@ -63,8 +62,7 @@
 		page = d['page']
 
 		# we can do these actions
-		#available = self.request.getAvailableActions(page)
-		available = get_available_actions(self.request.cfg, page, self.request.user)
+		available = self.request.getAvailableActions(page)
 
 		# start building list of links
 		builder = BuildLinks(self.request, page)
@@ -110,8 +108,7 @@
 			builder.addplain(parent.link_to(self.request, _get('Show Parent', formatted=False)))
 
 		# determine which actions we can use
-		#available = self.request.getAvailableActions(page)
-		available = get_available_actions(self.request.cfg, page, self.request.user)
+		available = self.request.getAvailableActions(page)
 		for action, label in self.choices:
 			if action == 'refresh' and not page.canUseCache():
 				continue
