Remove the page from the LinkCache before adding it again in WikiPage::loadFromRow()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 9 Mar 2013 20:00:14 +0000 (21:00 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 9 Mar 2013 20:00:14 +0000 (21:00 +0100)
commitdb4e7efd9286bbf306baef6d157c4179954772f2
treedf4ef7ece7d410ceda1aaf9f04c3dae640342435
parentc8543fe0bffafec21f2d2774ecc25cdfdcd44c84
Remove the page from the LinkCache before adding it again in WikiPage::loadFromRow()

This makes sure the LinkCache doesn't list a page both as good and bad link at the
same time, e.g. when a page gets created or deleted in the request.

Change-Id: I6774132ba8e4d28deed1908150c02fbaa42111a5
includes/WikiPage.php