[Erp5-report] r6856 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 21 18:56:30 CEST 2006


Author: jerome
Date: Fri Apr 21 18:56:27 2006
New Revision: 6856

URL: http://svn.erp5.org?rev=6856&view=rev
Log:
"Visible modules" in preferences has been removed

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml?rev=6856&r1=6855&r2=6856&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml Fri Apr 21 18:56:27 2006
@@ -73,13 +73,6 @@
 \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 @@
                             <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>




More information about the Erp5-report mailing list