[pmwiki-users] PmWiki 2.2-beta12 - UpdatePage() released

Crisses crisses at kinhost.org
Fri Oct 6 08:02:07 CDT 2006


On Oct 6, 2006, at 8:38 AM, Thomas -Balu- Walter wrote:

> On Wed, Oct 04, 2006 at 02:50:38PM -0500, Patrick R. Michaud wrote:
>> The UpdatePage line should probably read
>>
>>     UpdatePage($d, $oldpage, $newpage);
>
> Just being curious: What's the reason for $oldpage?
>
>      Balu

Page history/diffs.

If you want to erase the entire page history:


     UpdatePage($pagename, "", $newpage);

Just make sure $newpage has the right info :)

Crisses




More information about the pmwiki-users mailing list