def METHOD_NAME(self):
    if os.path.isdir(settings.ZDS_APP["content"]["repo_private_path"]):
        shutil.rmtree(settings.ZDS_APP["content"]["repo_private_path"])
    if os.path.isdir(settings.ZDS_APP["content"]["repo_public_path"]):
        shutil.rmtree(settings.ZDS_APP["content"]["repo_public_path"])
    if os.path.isdir(settings.MEDIA_ROOT):
        shutil.rmtree(settings.MEDIA_ROOT)
    # re-activate PDF build
    settings.ZDS_APP["content"]["build_pdf_when_published"] = True