projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8b313
)
Remove Pager->ensureQueryParameter
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 12 Jan 2019 00:29:55 +0000
(19:29 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 12 Jan 2019 00:29:55 +0000
(19:29 -0500)
src/Content/Pager.php
patch
|
blob
|
history
diff --git
a/src/Content/Pager.php
b/src/Content/Pager.php
index fafb68084c6b1bfd2d3e2983334250660d1d5ed2..064a7f90f4e0cd58e8e567aec2b3239a69ee4e24 100644
(file)
--- 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)
*