mirror of
https://github.com/friendica/friendica
synced 2024-11-18 20:23:44 +00:00
Test the test
This commit is contained in:
parent
a1a4471632
commit
7117ada2bc
1 changed files with 2 additions and 3 deletions
|
@ -2262,10 +2262,9 @@ function api_statuses_user_timeline($type)
|
|||
$condition[0] .= " AND `id` <= ?";
|
||||
$condition[] = $max_id;
|
||||
}
|
||||
|
||||
$condition = []; // test
|
||||
$params = ['order' => ['id' => true], 'limit' => [$start, $count]];
|
||||
// $statuses = Post::selectForUser(api_user(), [], $condition, $params);
|
||||
$statuses = Post::select([], $condition, $params);
|
||||
$statuses = Post::selectForUser(api_user(), [], $condition, $params);
|
||||
|
||||
$ret = api_format_items(Post::toArray($statuses), $user_info, true, $type);
|
||||
|
||||
|
|
Loading…
Reference in a new issue