Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove deprecated Director::urlParam() and Director::urlParams()

Use the methods param() and params() on SS_HTTPRequest instead.
  • Loading branch information...
commit de0ade963659814d39e5f6b83a4ea167eafeea78 1 parent 6718814
@halkyon halkyon authored
Showing with 0 additions and 20 deletions.
  1. +0 −20 control/Director.php
View
20 control/Director.php
@@ -308,26 +308,6 @@ protected static function handleRequest(SS_HTTPRequest $request, Session $sessio
}
}
}
-
- /**
- * Returns the urlParam with the given name
- *
- * @deprecated 3.0 Use SS_HTTPRequest->param()
- */
- public static function urlParam($name) {
- Deprecation::notice('3.0', 'Use SS_HTTPRequest->param() instead.');
- if(isset(Director::$urlParams[$name])) return Director::$urlParams[$name];
- }
-
- /**
- * Returns an array of urlParams.
- *
- * @deprecated 3.0 Use SS_HTTPRequest->params()
- */
- public static function urlParams() {
- Deprecation::notice('3.0', 'Use SS_HTTPRequest->params() instead.');
- return Director::$urlParams;
- }
/**
* Set url parameters (should only be called internally by RequestHandler->handleRequest()).
Please sign in to comment.
Something went wrong with that request. Please try again.