# First, get remote users subscribed to this profile
# XXX: use a join here rather than looping through results
$sub = new Subscription();
# First, get remote users subscribed to this profile
# XXX: use a join here rather than looping through results
$sub = new Subscription();
function omb_update_profile($profile, $remote_profile, $subscription) {
global $config; # for license URL
function omb_update_profile($profile, $remote_profile, $subscription) {
global $config; # for license URL
$con = omb_oauth_consumer();
$token = new OAuthToken($subscription->token, $subscription->secret);
$url = $remote_profile->updateprofileurl;
$con = omb_oauth_consumer();
$token = new OAuthToken($subscription->token, $subscription->secret);
$url = $remote_profile->updateprofileurl;