Notice::addWhereSinceId($notice, $since_id);
Notice::addWhereMaxId($notice, $max_id);
+ if (!empty($this->selectVerbs)) {
+ $notice->whereAddIn('verb', $this->selectVerbs, $notice->columnType('verb'));
+ }
+
$ids = array();
if ($notice->find()) {
$notice->free();
$notice = NULL;
- if (common_config('debug', 'homevspublic')) {
- common_debug('Public raw: ' . implode(',', $ids));
- }
-
- return $ids;
+ return $ids;
}
-}
\ No newline at end of file
+}