fix name of join-adding method
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
This commit is contained in:
parent
ca6f7337db
commit
ebfc997de3
@ -117,8 +117,9 @@ function omb_broadcast_remote_subscribers($notice) {
|
|||||||
common_debug('starting broadcast for notice #'.$notice->id, __FILE__);
|
common_debug('starting broadcast for notice #'.$notice->id, __FILE__);
|
||||||
$sub = new Subscription();
|
$sub = new Subscription();
|
||||||
$sub->subscribed = $notice->profile_id;
|
$sub->subscribed = $notice->profile_id;
|
||||||
|
$sub->selectAs();
|
||||||
$rp = new Remote_profile();
|
$rp = new Remote_profile();
|
||||||
$sub->addJoin($rp, 'INNER', NULL, 'subscriber');
|
$sub->joinAdd($rp, 'INNER', NULL, 'subscriber');
|
||||||
if ($sub->find()) {
|
if ($sub->find()) {
|
||||||
common_debug('Found subscriptions for '.$notice->id, __FILE__);
|
common_debug('Found subscriptions for '.$notice->id, __FILE__);
|
||||||
$posted = array();
|
$posted = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user