Remove upgradeRow() call from ?action=purge
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 4 May 2016 17:56:23 +0000 (10:56 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 4 May 2016 17:56:23 +0000 (10:56 -0700)
commit9120ee007ae32239c1007e9410c81b9e7df18edd
tree4882f56cc876aebdaac2a46304ea99621b9aae31
parentf47b7d6afc77ad8b08ba803289852f7c11ea1905
Remove upgradeRow() call from ?action=purge

This is overkill and can cause excess lock contention
on larger files. Purges are typically used to fix
thumbnails or CDN, not metadata. Scripts can always
be run to fix any real breakage.

Bug: T132921
Change-Id: Ieecf1c015735b7219ca51c87951b59c453cf588f
includes/page/WikiFilePage.php