fix name of join-adding method

darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
This commit is contained in:
Evan Prodromou 2008-06-06 13:38:04 -04:00
parent ca6f7337db
commit ebfc997de3
1 changed files with 2 additions and 1 deletions

View File

@ -117,8 +117,9 @@ function omb_broadcast_remote_subscribers($notice) {
common_debug('starting broadcast for notice #'.$notice->id, __FILE__);
$sub = new Subscription();
$sub->subscribed = $notice->profile_id;
$sub->selectAs();
$rp = new Remote_profile();
$sub->addJoin($rp, 'INNER', NULL, 'subscriber');
$sub->joinAdd($rp, 'INNER', NULL, 'subscriber');
if ($sub->find()) {
common_debug('Found subscriptions for '.$notice->id, __FILE__);
$posted = array();