Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()