Skip to content
Permalink
Browse files

Removing deprecated properties.

  • Loading branch information...
markstory committed Aug 25, 2009
1 parent 325446a commit b265a99bc91c9d64322d02837853ccb96f855672
Showing with 2 additions and 29 deletions.
  1. +2 −29 cake/libs/view/theme.php
@@ -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);
@@ -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;
}
}
@@ -94,7 +68,6 @@ function _paths($plugin = null, $cached = true) {
if (empty($this->__paths)) {
$this->__paths = $paths;
}
return $paths;
}
}

0 comments on commit b265a99

Please sign in to comment.
You can’t perform that action at this time.