watcheditem: Do not create the same TitleValue object twice
authorUmherirrender <umherirrender_de.wp@web.de>
Fri, 7 Jun 2019 14:28:31 +0000 (16:28 +0200)
committerKrinkle <krinklemail@gmail.com>
Mon, 10 Jun 2019 20:14:18 +0000 (20:14 +0000)
commit4aec6e80eea54dc6f26a0cec5b39c078d0813fa4
tree2f7c6efc88d200c44dd863d56223b6f6eae78afa
parent44b524827e3004d4f2fbcb19c194c702c651d1f2
watcheditem: Do not create the same TitleValue object twice

Minor optimization in getWatchedItemsForUser(). Follows-up 7c12727fff0.

Change-Id: I29f40f2c09c334eea33c7aaf351e1f1a93de9c13
includes/watcheditem/WatchedItemStore.php