No need for +1 and -1
This commit is contained in:
parent
78d4aff878
commit
6e789ec19a
|
@ -213,8 +213,8 @@ class BaseApi extends BaseModule
|
||||||
|
|
||||||
$prev_request = $next_request = $request;
|
$prev_request = $next_request = $request;
|
||||||
|
|
||||||
$prev_request['min_id'] = self::$boundaries['max'] + 1;
|
$prev_request['min_id'] = self::$boundaries['max'];
|
||||||
$next_request['max_id'] = self::$boundaries['min'] - 1;
|
$next_request['max_id'] = self::$boundaries['min'];
|
||||||
|
|
||||||
$command = DI::baseUrl() . '/' . DI::args()->getCommand();
|
$command = DI::baseUrl() . '/' . DI::args()->getCommand();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue