]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix name of join-adding method
authorEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 17:38:04 +0000 (13:38 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 17:38:04 +0000 (13:38 -0400)
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz

lib/omb.php

index a52380a01feeb13e099116ccdaa31f6a47b563b4..917acebaf8d04cb6b472767746bf165b171d89a3 100644 (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();