Remove Pager->ensureQueryParameter
This commit is contained in:
parent
ec8b313c2d
commit
eaea24f98b
1 changed files with 0 additions and 15 deletions
|
@ -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)
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue