forked from GNUsocial/gnu-social
correct the output formats for api user timelines
darcs-hash:20081124234115-5ed1f-4a136027fddd625c39f14b5ec2e3e9d0fd0a6b3b.gz
This commit is contained in:
parent
a9d628c2b3
commit
6d355a9d60
10
lib/util.php
10
lib/util.php
@ -1148,11 +1148,11 @@ function common_fancy_url($action, $args=NULL) {
|
||||
case 'user_timeline.rss':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.rss');
|
||||
case 'user_timeline.atom':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.rss');
|
||||
case 'user_timeline.rss':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.rss');
|
||||
case 'user_timeline.atom':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.rss');
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.atom');
|
||||
case 'user_timeline.json':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.json');
|
||||
case 'user_timeline.xml':
|
||||
return common_path('api/statuses/user_timeline/'.$args['argument'].'.xml');
|
||||
default: return common_simple_url($action, $args);
|
||||
}
|
||||
default: return common_simple_url($action, $args);
|
||||
|
Loading…
Reference in New Issue
Block a user