예제 #1
0
def uninstallFinalSteps(context):
    """Uninstall Quills stuff that GS profiles cannot catch.
    """
    if context.readDataFile('quills_product_various.txt') is None:
        return
    out = StringIO()
    portal = context.getSite()
    delNewDiscussionReplyFormAction(portal, out)
    return out.getvalue()
예제 #2
0
def uninstallFinalSteps(context):
    """Uninstall Quills stuff that GS profiles cannot catch.
    """
    if context.readDataFile('quills_product_various.txt') is None:
        return
    out = StringIO()
    portal = context.getSite()
    delNewDiscussionReplyFormAction(portal, out)
    return out.getvalue()
예제 #3
0
def uninstall(self):
    """Uninstall QuillsEnabled.
    """
    out = StringIO()
    portal_controlpanel = getToolByName(self, 'portal_controlpanel')
    portal_controlpanel.unregisterApplication(config.PROJECTNAME)
    unregisterStylesheets(self)
    delNewDiscussionReplyFormAction(self, out)
    #permissions.unsetupPortalSecurity(self, out)
    print >> out, u"Successfully uninstalled %s." % config.PROJECTNAME
    return out.getvalue()