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

merge-requests/26/head
Dries Buytaert 2009-04-01 01:28:24 +00:00
parent 4718f59021
commit 4f36a54832
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ function blogapi_blogger_get_users_blogs($appid, $username, $password) {
$types = _blogapi_get_node_types();
$structs = array();
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;
@ -172,7 +172,7 @@ function blogapi_blogger_get_user_info($appkey, $username, $password) {
'firstname' => $name[0],
'nickname' => $user->name,
'email' => $user->mail,
'url' => url('blog/' . $user->uid, array('absolute' => TRUE)));
'url' => url('user/' . $user->uid, array('absolute' => TRUE)));
}
else {
return blogapi_error($user);