MINOR Removed Group->CMSTreeClasses(), no longer shown as a tree

This commit is contained in:
Ingo Schommer 2012-04-17 22:34:24 +02:00
parent 473d3a66b8
commit 65fc81fd68

View File

@ -468,25 +468,4 @@ class Group extends DataObject {
// Members are populated through Member->requireDefaultRecords()
}
/**
* @return String
*/
function CMSTreeClasses($controller) {
$classes = sprintf('class-%s', $this->class);
if(!$this->canDelete())
$classes .= " nodelete";
if($controller->isCurrentPage($this))
$classes .= " current";
if(!$this->canEdit())
$classes .= " disabled";
$classes .= $this->markingClasses();
return $classes;
}
}