includes/WatchedItemStore.php 1 location
|
@@ 497-504 (lines=8) @@
|
494 |
|
); |
495 |
|
|
496 |
|
$watchedItems = []; |
497 |
|
foreach ( $res as $row ) { |
498 |
|
// @todo: Should we add these to the process cache? |
499 |
|
$watchedItems[] = new WatchedItem( |
500 |
|
$user, |
501 |
|
new TitleValue( (int)$row->wl_namespace, $row->wl_title ), |
502 |
|
$row->wl_notificationtimestamp |
503 |
|
); |
504 |
|
} |
505 |
|
|
506 |
|
return $watchedItems; |
507 |
|
} |
includes/WatchedItemQueryService.php 1 location
|
@@ 252-259 (lines=8) @@
|
249 |
|
); |
250 |
|
|
251 |
|
$watchedItems = []; |
252 |
|
foreach ( $res as $row ) { |
253 |
|
// todo these could all be cached at some point? |
254 |
|
$watchedItems[] = new WatchedItem( |
255 |
|
$user, |
256 |
|
new TitleValue( (int)$row->wl_namespace, $row->wl_title ), |
257 |
|
$row->wl_notificationtimestamp |
258 |
|
); |
259 |
|
} |
260 |
|
|
261 |
|
return $watchedItems; |
262 |
|
} |