예제 #1
0
def wiki_delete_page(name, *args, **kwargs):

    if not hasattr(search, 'index_wiki'):
        return

    return search.delete_wiki(name)
예제 #2
0
파일: hooks.py 프로젝트: jfellus/wiki-neuro
def wiki_delete_page(page, *args, **kwargs):

    if not hasattr(search, 'index_wiki'):
        return

    return search.delete_wiki(page.name)
예제 #3
0
def wiki_rename_page_del(page, *args, **kwargs):

    if not hasattr(search, 'index_wiki'):
        return

    return search.delete_wiki(page.name)
예제 #4
0
def wiki_rename_page(old_name, *args, **kwargs):

    if not hasattr(search, 'index_wiki'):
        return

    return search.delete_wiki(old_name)