Skip to content

Commit

Permalink
Clean up unneeded vars/comments in Controller_Rest.
Browse files Browse the repository at this point in the history
  • Loading branch information
shadlaws committed Jun 15, 2013
1 parent 5164fa9 commit a87dacd
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions modules/rest/classes/Rest/Controller/Rest.php
Expand Up @@ -24,12 +24,7 @@
* so it's sufficient to look in $this->request->headers().
*/
abstract class Rest_Controller_Rest extends Controller {
public $allow_private_gallery = true;

// REST response used by Controller_Rest::after() to generate the Response body. Since
// the default action_get() sets this and since POST/PUT/DELETE typically have no output,
// most resources don't need to access this directly.
// @see Controller_Rest::after()
// REST response used by Controller_Rest::after() to generate the Response body.
public $rest_response = array();

// REST resource type and id. These are set in Controller_Rest::before().
Expand All @@ -40,10 +35,7 @@ abstract class Rest_Controller_Rest extends Controller {
public static $default_params = array(
"start" => 0,
"num" => 100,
"expand_members" => false,
"type" => null,
"access_key" => null,
"output" => "json"
"expand_members" => false
);

/**
Expand Down

0 comments on commit a87dacd

Please sign in to comment.