Commit 9224d7d1 authored by Jérome Perrin's avatar Jérome Perrin

"Visible modules" in preferences has been removed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6856 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7a0b5035
......@@ -73,13 +73,6 @@ user = context.portal_membership.getAuthenticatedMember().getUserName()\n
\n
portal = context.getPortalObject()\n
\n
## do not filter when there is no visible module selected\n
try : \n
if len(portal.portal_preferences.getPreferredVisibleModuleList()) == 0 : \n
filter = 0\n
except ConflictError : raise\n
except : filter = 0\n
\n
def getModuleItemList(user=None, portal_path=None):\n
gettext = context.Localizer.erp5_ui.gettext\n
item_list = []\n
......@@ -152,8 +145,6 @@ return getModuleItemList(user=user, portal_path=portal_path)\n
<string>context</string>
<string>user</string>
<string>portal</string>
<string>len</string>
<string>filter</string>
<string>None</string>
<string>getModuleItemList</string>
<string>portal_path</string>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment