]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
fix handing of case of file first created by preview but then saved
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 29 Sep 2008 17:25:31 +0000 (13:25 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 29 Sep 2008 17:25:31 +0000 (13:25 -0400)
commitc4be16703fa571e8922b43446b24cf1c4f90a371
treeeeef2064e303af7d452e450d278a1942cb3a1859
parentd4ac1c750e5f3dcf3bb5d764d7e625fe90c7ebd3
fix handing of case of file first created by preview but then saved

To handle this, avoid populating %renderedfiles in preview,
and in expiry, check if the file is in %renderedfiles, if it is
do not delete it since it was saved.
IkiWiki/Plugin/editpage.pm