Skip to content

Commit

Permalink
BUGFIX: Define $tree_class property
Browse files Browse the repository at this point in the history
Define the `$tree_class` property. This tells the framework that `Dashboard` manages `DashboardPanel` objects. This is used by the Subsites module to check permissions. So is required for compatibility.
  • Loading branch information
nedmas committed Jan 13, 2014
1 parent e857c49 commit 6da2086
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ class Dashboard extends LeftAndMain implements PermissionProvider {


private static $menu_icon = "dashboard/images/dashboard.png";



private static $tree_class = 'DashboardPanel';



Expand Down

0 comments on commit 6da2086

Please sign in to comment.