From: Hypolite Petovan Date: Sat, 12 Jan 2019 00:29:55 +0000 (-0500) Subject: Remove Pager->ensureQueryParameter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eaea24f98bfe31ac7d0df77948b5a0ff86d51eb0;p=friendica.git Remove Pager->ensureQueryParameter --- diff --git a/src/Content/Pager.php b/src/Content/Pager.php index fafb68084c..064a7f90f4 100644 --- a/src/Content/Pager.php +++ b/src/Content/Pager.php @@ -123,21 +123,6 @@ class Pager $this->baseQueryString = $stripped; } - /** - * Ensures the provided URI has its query string punctuation in order. - * - * @param string $uri - * @return string - */ - private function ensureQueryParameter($uri) - { - if (strpos($uri, '?') === false && ($pos = strpos($uri, '&')) !== false) { - $uri = substr($uri, 0, $pos) . '?' . substr($uri, $pos + 1); - } - - return $uri; - } - /** * @brief Minimal pager (newer/older) *