Skip to content

Commit

Permalink
Deprecate RequestActionTrait.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 11, 2016
1 parent d051712 commit defaee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Routing/RequestActionTrait.php
Expand Up @@ -21,6 +21,7 @@
/**
* Provides the requestAction() method for doing sub-requests
*
* @deprecated 3.3.0 Use view cells instead.
*/
trait RequestActionTrait
{
Expand Down Expand Up @@ -97,6 +98,8 @@ trait RequestActionTrait
*/
public function requestAction($url, array $extra = [])
{
trigger_error('requestAction() is deprecated. Use view cells instead.', E_USER_DEPRECATED);

if (empty($url)) {
return false;
}
Expand Down

0 comments on commit defaee3

Please sign in to comment.