Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 65fc81fd6815456ec1e6d29fd10ec933c36ac359 1 parent 473d3a6
Ingo Schommer authored April 17, 2012

Showing 1 changed file with 1 addition and 22 deletions. Show diff stats Hide diff stats

  1. 23  security/Group.php
23  security/Group.php
@@ -467,26 +467,5 @@ public function requireDefaultRecords() {
467 467
 		
468 468
 		// Members are populated through Member->requireDefaultRecords()
469 469
 	}
470  
-
471  
-	/**
472  
-	 * @return String
473  
-	 */
474  
-	function CMSTreeClasses($controller) {
475  
-		$classes = sprintf('class-%s', $this->class);
476  
-
477  
-		if(!$this->canDelete())
478  
-			$classes .= " nodelete";
479  
-
480  
-		if($controller->isCurrentPage($this))
481  
-			$classes .= " current";
482  
-
483  
-		if(!$this->canEdit()) 
484  
-			$classes .= " disabled";
485  
-			
486  
-		$classes .= $this->markingClasses();
487  
-
488  
-		return $classes;
489  
-	}
490  
-}
491 470
 	
492  
-
  471
+}

0 notes on commit 65fc81f

Please sign in to comment.
Something went wrong with that request. Please try again.