summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-01 01:28:24 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-01 01:28:24 +0000
commit4f36a54832bb9c2d3a780cd93b6d04ec43f19caf (patch)
tree9931d7960cf447bd5e9c304055c3517aa31dac52
parent4718f59021c52a410040eea62d6add7f326eca06 (diff)
downloadbrdo-4f36a54832bb9c2d3a780cd93b6d04ec43f19caf.tar.gz
brdo-4f36a54832bb9c2d3a780cd93b6d04ec43f19caf.tar.bz2
- Patch #233425 by catch, Jody Lynn, lilou: remove dependency on blog module.
-rw-r--r--modules/blogapi/blogapi.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index a80560709..480dcabf0 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -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);