hide underlay pages early

This commit is contained in:
Elan Ruusamäe 2012-09-22 20:32:04 +02:00
parent bb61d04533
commit 6ccf75c395

View file

@ -289,7 +289,11 @@ else:
filter = name_filter filter = name_filter
# get list of all pages in wiki # get list of all pages in wiki
# hide underlay dir temporarily
underlay_dir = request.rootpage.cfg.data_underlay_dir
request.rootpage.cfg.data_underlay_dir = None
pages = request.rootpage.getPageDict(user = '', exists = not convert_attic, filter = filter) pages = request.rootpage.getPageDict(user = '', exists = not convert_attic, filter = filter)
request.rootpage.cfg.data_underlay_dir = underlay_dir
# insert frontpage, # insert frontpage,
# so that MoinMoin frontpage gets saved as DokuWiki frontpage based on their configs # so that MoinMoin frontpage gets saved as DokuWiki frontpage based on their configs