Test the test
This commit is contained in:
parent
a1a4471632
commit
7117ada2bc
|
@ -2262,10 +2262,9 @@ function api_statuses_user_timeline($type)
|
||||||
$condition[0] .= " AND `id` <= ?";
|
$condition[0] .= " AND `id` <= ?";
|
||||||
$condition[] = $max_id;
|
$condition[] = $max_id;
|
||||||
}
|
}
|
||||||
|
$condition = []; // test
|
||||||
$params = ['order' => ['id' => true], 'limit' => [$start, $count]];
|
$params = ['order' => ['id' => true], 'limit' => [$start, $count]];
|
||||||
// $statuses = Post::selectForUser(api_user(), [], $condition, $params);
|
$statuses = Post::selectForUser(api_user(), [], $condition, $params);
|
||||||
$statuses = Post::select([], $condition, $params);
|
|
||||||
|
|
||||||
$ret = api_format_items(Post::toArray($statuses), $user_info, true, $type);
|
$ret = api_format_items(Post::toArray($statuses), $user_info, true, $type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue