Commit graph

2 commits

Author SHA1 Message Date
physikerwelt (Moritz Schubotz)
eab45e37b6 Fix strict warning in FakeDatabasUpdater::setAppliedUpdates
Follows-up ccd051bc44.

To be consistent with DatabaseUpdater::setAppliedUpdates
the second arg $updates is now optional.

Change-Id: Ida2adfe30099ea4c65f0c16fafc4eae6603fc93a
2014-10-13 13:36:09 +00:00
physikerwelt (Moritz Schubotz)
ccd051bc44 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
2014-10-09 06:13:54 +00:00