Retrait code obsolète.
[Plinn.git] / patch.py
1 """ Plinn monkey patch
2
3
4
5 """
6 from Products.CMFCore.PortalFolder import PortalFolder as CMFPortalFolder
7 from Folder import PlinnFolder
8
9 CMFPortalFolder.listFolderContents = PlinnFolder.listFolderContents.im_func
10 CMFPortalFolder.listNearestFolderContents = PlinnFolder.listNearestFolderContents.im_func
11 CMFPortalFolder.listCatalogedContents = PlinnFolder.listCatalogedContents.im_func