Add counter to DatabaseUpdater::setAppliedUpdates
authorphysikerwelt (Moritz Schubotz) <wiki@physikerwelt.de>
Sat, 20 Sep 2014 19:36:03 +0000 (12:36 -0700)
committerPhysikerwelt <wiki@physikerwelt.de>
Thu, 9 Oct 2014 06:13:54 +0000 (06:13 +0000)
commitccd051bc44974ba32749c845bf5d9aa0ca96aa24
treece0145149d8d49707adb3145633cfadd58aa4d20
parent1a9fc607bf80d72ca5b17d6e23100402fc0cadea
Add counter to DatabaseUpdater::setAppliedUpdates

The key was constructed depending on the current time only.
This method fails, if multiple updates are performed
within one second.

Bug: 71087
Change-Id: Id7e30298729b3abb1501a34fcc1ba4e45d2172f0
includes/installer/DatabaseUpdater.php
tests/phpunit/includes/installer/DatabaseUpdaterTest.php [new file with mode: 0644]