Browse files

fixed issues in insert/deleteUpdate

  • Loading branch information...
1 parent 23c54c1 commit 9fcede090db594f2d7bab832e27a7c118127c504 @zagraves zagraves committed Jul 9, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Yahoo.inc
View
6 lib/Yahoo.inc
@@ -924,7 +924,7 @@ class YahooUser {
return NULL;
}
- $source = sprintf("APP.%s", $applicationId);
+ $source = sprintf("APP.%s", $appid);
$update = array(
"collectionID" => $this->guid,
@@ -940,7 +940,7 @@ class YahooUser {
);
$update_body = array("updates" => array($update));
- $update_body_json = json_encode($body);
+ $update_body_json = json_encode($update_body);
$request_url = sprintf("http://%s/v1/user/%s/updates/%s/%s",
$YahooConfig["UPDATES_WS_HOSTNAME"], $this->guid, $source, urlencode($suid));
@@ -978,7 +978,7 @@ class YahooUser {
return FALSE;
}
- $source = sprintf("APP.%s", $applicationId);
+ $source = sprintf("APP.%s", $appid);
$request_url = sprintf("http://%s/v1/user/%s/updates/%s/%s",
$YahooConfig["UPDATES_WS_HOSTNAME"], $this->guid, $source, urlencode($suid));

0 comments on commit 9fcede0

Please sign in to comment.