Skip to content

Commit

Permalink
Removing deprecated properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 25, 2009
1 parent 325446a commit b265a99
Showing 1 changed file with 2 additions and 29 deletions.
31 changes: 2 additions & 29 deletions cake/libs/view/theme.php
Expand Up @@ -31,32 +31,10 @@
* @subpackage cake.cake.libs.view
*/
class ThemeView extends View {

/**
* System path to themed element: themed . DS . theme . DS . elements . DS
*
* @var string
*/
var $themeElement = null;

/**
* System path to themed layout: themed . DS . theme . DS . layouts . DS
*
* @var string
*/
var $themeLayout = null;

/**
* System path to themed: themed . DS . theme . DS
* Constructor for ThemeView sets $this->theme.
*
* @var string
*/
var $themePath = null;

/**
* Enter description here...
*
* @param unknown_type $controller
* @param Controller $controller
*/
function __construct(&$controller) {
parent::__construct($controller);
Expand All @@ -66,10 +44,6 @@ function __construct(&$controller) {
if (is_dir(WWW_ROOT . 'themed' . DS . $this->theme)) {
$this->themeWeb = 'themed/'. $this->theme .'/';
}
/* deprecated: as of 6128 the following properties are no longer needed */
$this->themeElement = 'themed'. DS . $this->theme . DS .'elements'. DS;
$this->themeLayout = 'themed'. DS . $this->theme . DS .'layouts'. DS;
$this->themePath = 'themed'. DS . $this->theme . DS;
}
}

Expand All @@ -94,7 +68,6 @@ function _paths($plugin = null, $cached = true) {
if (empty($this->__paths)) {
$this->__paths = $paths;
}

return $paths;
}
}
Expand Down

0 comments on commit b265a99

Please sign in to comment.