Commit 4f36a548 authored by Dries's avatar Dries

- Patch #233425 by catch, Jody Lynn, lilou: remove dependency on blog module.

parent 4718f590
...@@ -148,7 +148,7 @@ function blogapi_blogger_get_users_blogs($appid, $username, $password) { ...@@ -148,7 +148,7 @@ function blogapi_blogger_get_users_blogs($appid, $username, $password) {
$types = _blogapi_get_node_types(); $types = _blogapi_get_node_types();
$structs = array(); $structs = array();
foreach ($types as $type) { foreach ($types as $type) {
$structs[] = array('url' => url('blog/' . $user->uid, array('absolute' => TRUE)), 'blogid' => $type, 'blogName' => $user->name . ": " . $type); $structs[] = array('url' => url('user/' . $user->uid, array('absolute' => TRUE)), 'blogid' => $type, 'blogName' => $user->name . ": " . $type);
} }
return $structs; return $structs;
...@@ -172,7 +172,7 @@ function blogapi_blogger_get_user_info($appkey, $username, $password) { ...@@ -172,7 +172,7 @@ function blogapi_blogger_get_user_info($appkey, $username, $password) {
'firstname' => $name[0], 'firstname' => $name[0],
'nickname' => $user->name, 'nickname' => $user->name,
'email' => $user->mail, 'email' => $user->mail,
'url' => url('blog/' . $user->uid, array('absolute' => TRUE))); 'url' => url('user/' . $user->uid, array('absolute' => TRUE)));
} }
else { else {
return blogapi_error($user); return blogapi_error($user);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment