LocalFile: Ensure same timestamp for log entry and image revision
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 24 Jan 2016 20:31:34 +0000 (21:31 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 24 Jan 2016 20:31:34 +0000 (21:31 +0100)
commite09772cc562bc34fc6a0eef8ed46cd866b19c211
treeebd6ef1513abee6bd4afdbc7fe7ee14db3fa06c8
parent6f9e6dd8878e9560a26be2f510dff9e368bed815
LocalFile: Ensure same timestamp for log entry and image revision

For file patrolling, we rely on the timestamp of image revision
(`image` table) and log entry (`logging` table) being the same, but we
weren't actually making sure it is the same.

Note that the timestamp of page revision can still differ, but that
shouldn't matter and it's a more involved fix.

Change-Id: I8e1b75d744c4a96cb0bb636b153d6e8ea2ee1fcf
includes/filerepo/file/LocalFile.php