break;
}
- $notices = $raw->fetchAll();
-
- // XXX: this should probably only be in the scoping one.
-
- Notice::fillGroups($notices);
- Notice::fillReplies($notices);
-
- foreach ($notices as $notice) {
+ $notices = $raw->fetchAll();
+
+ $this->prefill($notices);
+
+ foreach ($notices as $notice) {
if ($this->filter($notice)) {
$filtered[] = $notice;
if (count($filtered) >= $total) {
return $ids;
}
+
+ function prefill($notices)
+ {
+ return;
+ }
}
{
return $notice->inScope($this->profile);
}
+
+ function prefill($notices)
+ {
+ // XXX: this should probably only be in the scoping one.
+
+ Notice::fillGroups($notices);
+ Notice::fillReplies($notices);
+ }
}