File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,6 @@ public function parseApiRoute($method = 'GET')
9999 // Get the path from the route and remove and leading or trailing slash.
100100 $ routePath = $ this ->getRoutePath ();
101101
102- $ query = Uri::getInstance ()->getQuery (true );
103-
104- // Remove the public key as it is only supported coming from the route definition
105- if (array_key_exists ('public ' , $ query )) {
106- unset($ query ['public ' ]);
107- }
108-
109102 // Iterate through all of the known routes looking for a match.
110103 foreach ($ this ->routes as $ route ) {
111104 if (\in_array ($ method , $ route ->getMethods ())) {
@@ -119,11 +112,6 @@ public function parseApiRoute($method = 'GET')
119112
120113 $ controller = preg_split ("/[.]+/ " , $ route ->getController ());
121114
122- /** @deprecated 4.3 will be removed in 5.0
123- * Query parameters will not be merged into route variables from 5.0
124- */
125- $ vars = array_merge ($ vars , $ query );
126-
127115 return [
128116 'controller ' => $ controller [0 ],
129117 'task ' => $ controller [1 ],
You can’t perform that action at this time.
0 commit comments