mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Add default getLinkHeader asDate to be false (the previous ID-only way)
This commit is contained in:
parent
fae67b6d88
commit
f0b3864c7a
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class BaseApi extends BaseModule
|
|||
* Get the "link" header with "next" and "prev" links
|
||||
* @return string
|
||||
*/
|
||||
protected static function getLinkHeader(bool $asDate): string
|
||||
protected static function getLinkHeader(bool $asDate = false): string
|
||||
{
|
||||
if (empty(self::$boundaries)) {
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue