summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-06 13:38:04 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-06 13:38:04 -0400
commitebfc997de3e06b0e4269bc700c7a2ca80fb1ea8d (patch)
tree9025d9d523aa1ddae8401dec710ab9a47c25bb6c /lib/omb.php
parentca6f7337db36b0a7ea3f06118e1e56610777057d (diff)
fix name of join-adding method
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php
index a52380a01..917acebaf 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -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();