|
From: Reini U. <ru...@x-...> - 2007-05-30 22:04:57
|
AlJeux schrieb:
> Hi Reini,
>
> Thank you for answering so quickly to my question.
>
> My question was only related to the second part of the code, not all the
> code.
>
> If I comment the following code (the one working with $newpage), the
> renaming bug is fixed.
>
> (code in WikiDB.php in the rename_page func)
> === begin ===
> $links = $newpage->getBackLinks();
> while ($linked_page = $links->next()) {
> WikiPlugin_WikiAdminSearchReplace::replaceHelper($this,
> $linked_page->getName(),
> $from, $to);
> }
> === end ===
>
> Is it safe to comment these lines ?
>
> As I said, I don't understand so I'm afraid of making a mistake.
Yes, it's save to comment out, because the
WikiAdminSearchReplace::replaceHelper call is broken anyway.
You might end with too many renamed pages.
I'll try to fix it before the release.
BTW: I already uploaded the release but found another bug yesterday.
php-5.2.x sessions still don't work.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
|