Permalink
Browse files

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

Use the methods param() and params() on SS_HTTPRequest instead.
  • Loading branch information...
1 parent 6718814 commit de0ade963659814d39e5f6b83a4ea167eafeea78 @halkyon halkyon committed Nov 14, 2012
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()).

0 comments on commit de0ade9

Please sign in to comment.