Remove Pager->ensureQueryParameter
This commit is contained in:
parent
ec8b313c2d
commit
eaea24f98b
|
@ -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 New Issue
Block a user