DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 30 Nov 2016 19:49:31 +0000 (20:49 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 30 Nov 2016 20:13:30 +0000 (20:13 +0000)
commitb225a84ff95badf1e407c3952e1e0c540507a8e8
treecbec53b9ee10cb17be1c053e41c7c8265b6dc996
parent4cb5e3f5da76ae435263ac0c1323da40c91d097a
DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs

Nothing ever looks at these rows, and if you have update.php in a Cron
job or a Git hook or something, they can accumulate in huge numbers.

Also remove a test which verified that the rows get inserted.

If you reached this place while trying to find out what the weird
"updatelist-1.28.0-14628929450" rows in your database are, rest
assured they are useless. If they're causing disk space problems,
you can delete them:

  DELETE FROM updatelog WHERE ul_key LIKE 'updatelist-%';

Change-Id: If94f243810e82ea3724cbd47b301bb96ba9a49d9
includes/installer/DatabaseUpdater.php
tests/phpunit/includes/installer/DatabaseUpdaterTest.php [deleted file]