Skip to content

Commit

Permalink
Removing unused properties from Scaffold.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 18, 2010
1 parent 76f94d5 commit f6edbfa
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions cake/libs/controller/scaffold.php
Expand Up @@ -31,7 +31,7 @@
* @package cake
* @subpackage cake.cake.libs.controller
*/
class Scaffold extends Object {
class Scaffold {

/**
* Controller object
Expand Down Expand Up @@ -75,20 +75,6 @@ class Scaffold extends Object {
*/
public $request;

/**
* File extension. Defaults to Cake's template ".ctp".
*
* @var array
*/
public $ext = '.ctp';

/**
* Sub-directory for this view file.
*
* @var string
*/
public $subDir = null;

/**
* valid session.
*
Expand All @@ -104,9 +90,7 @@ class Scaffold extends Object {
* @access private
*/
private $__passedVars = array(
'action', 'base', 'webroot', 'layout', 'name',
'viewPath', 'ext', 'params', 'data', 'plugin', 'cacheAction',
'request'
'layout', 'name', 'viewPath', 'request'
);

/**
Expand Down

0 comments on commit f6edbfa

Please sign in to comment.