from Products.CMFCore.PortalFolder import PortalFolder as CMFPortalFolder
from Folder import PlinnFolder
+from utils import getCPInfo, popCP
cmfPortalFolderSecurity = ClassSecurityInfo()
cmfPortalFolderSecurity.declareProtected(AddPortalContent, 'put_upload')
CMFPortalFolder.put_upload = PlinnFolder.put_upload.im_func
+cmfPortalFolderSecurity.declarePublic('getCPInfo')
+CMFPortalFolder.getCPInfo = getCPInfo
+
+cmfPortalFolderSecurity.declarePublic('getCP')
+CMFPortalFolder.popCP = popCP
+
cmfPortalFolderSecurity.apply(CMFPortalFolder)