mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed Group->CMSTreeClasses(), no longer shown as a tree
This commit is contained in:
parent
473d3a66b8
commit
65fc81fd68
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user