[ticket/12428] Incorrect from version in database update log entry

https://tracker.phpbb.com/browse/PHPBB3-12428

PHPBB3-12428
[ticket/12428] Use the database to store the original version number

PHPBB3-12428
Merge pull request #2422 from Nicofuma/ticket/12428

[ticket/12428] Incorrect from version in database update log entry

* Nicofuma/ticket/12428:
  [ticket/12428] Use the database to store the original version number
  [ticket/12428] Incorrect from version in database update log entry