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
|
@@ 296-303 (lines=8) @@
|
293 |
|
); |
294 |
|
|
295 |
|
$watchedItems = []; |
296 |
|
foreach ( $res as $row ) { |
297 |
|
// todo these could all be cached at some point? |
298 |
|
$watchedItems[] = new WatchedItem( |
299 |
|
$user, |
300 |
|
new TitleValue( (int)$row->wl_namespace, $row->wl_title ), |
301 |
|
$row->wl_notificationtimestamp |
302 |
|
); |
303 |
|
} |
304 |
|
|
305 |
|
return $watchedItems; |
306 |
|
} |