Introducing User::getLatestEditTimestamp()
authorStephane Bisson <sbisson@wikimedia.org>
Wed, 6 Mar 2019 16:28:51 +0000 (11:28 -0500)
committerSbisson <sbisson@wikimedia.org>
Thu, 7 Mar 2019 20:17:03 +0000 (20:17 +0000)
commit33a06450c9ba5a5d238f6c8863f9966f96ce7cbd
tree17a95776862f89ead2ea7670b46db7276a565409
parent258445a23ebba29e988a9e6f064ee8690988cd2c
Introducing User::getLatestEditTimestamp()

This will be used by the GrowthExperiments
Mentorship module to show when a user made their
latest contribution.

* Introduce a private function to reduce duplication with
  getFirstEditTimestamp()
* Add unit tests for both

Bug: T216631
Change-Id: Ica3e6e7165496bdc9b8f12972cf93847ecfffa50
includes/user/User.php
tests/phpunit/includes/user/UserTest.php