Fixed 3.2 compat

This commit is contained in:
Ingo Schommer 2013-03-26 10:54:35 +01:00
parent 6b9ac25b6c
commit bcb0665873
2 changed files with 7 additions and 7 deletions

View File

@ -12,17 +12,17 @@
*/
class ReportAdmin extends LeftAndMain implements PermissionProvider {
public static $url_segment = 'reports';
private static $url_segment = 'reports';
public static $url_rule = '/$ReportClass/$Action';
private static $url_rule = '/$ReportClass/$Action';
public static $menu_title = 'Reports';
private static $menu_title = 'Reports';
public static $template_path = null; // defaults to (project)/templates/email
private static $template_path = null; // defaults to (project)/templates/email
public static $tree_class = 'SS_Report';
private static $tree_class = 'SS_Report';
public static $url_handlers = array(
private static $url_handlers = array(
'$ReportClass/$Action' => 'handleAction'
);

View File

@ -13,6 +13,6 @@
}],
"require": {
"php": ">=5.3.2",
"silverstripe/framework": ">=3.1.x-dev"
"silverstripe/framework": "~3.2"
}
}