Merge "watcheditem: Do not create the same TitleValue object twice"
This commit is contained in:
commit
7810f6b626
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac
|
|||
// @todo: Should we add these to the process cache?
|
||||
$watchedItems[] = new WatchedItem(
|
||||
$user,
|
||||
new TitleValue( (int)$row->wl_namespace, $row->wl_title ),
|
||||
$target,
|
||||
$this->getLatestNotificationTimestamp(
|
||||
$row->wl_notificationtimestamp, $user, $target )
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue