Reverting the test
authorMichael <heluecht@pirati.ca>
Mon, 15 Feb 2021 07:43:54 +0000 (07:43 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 15 Feb 2021 07:43:54 +0000 (07:43 +0000)
include/api.php

index d408fc4..d56599c 100644 (file)
@@ -2262,7 +2262,6 @@ 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);