From 75899876d2e4b0c00e5526dee7ed24c9d8a932c2 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 22 Aug 2013 17:21:55 +0200 Subject: [PATCH] 3.1 compat (controller code) --- code/cms/DMSDocumentAddController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/cms/DMSDocumentAddController.php b/code/cms/DMSDocumentAddController.php index 6dfad5d..fe980c6 100644 --- a/code/cms/DMSDocumentAddController.php +++ b/code/cms/DMSDocumentAddController.php @@ -2,11 +2,11 @@ class DMSDocumentAddController extends LeftAndMain { - static $url_segment = 'pages/adddocument'; - static $url_priority = 60; - static $required_permission_codes = 'CMS_ACCESS_AssetAdmin'; - static $menu_title = 'Edit Page'; - public static $tree_class = 'SiteTree'; + private static $url_segment = 'pages/adddocument'; + private static $url_priority = 60; + private static $required_permission_codes = 'CMS_ACCESS_AssetAdmin'; + private static $menu_title = 'Edit Page'; + private static $tree_class = 'SiteTree'; static $allowed_extensions = array(); private static $allowed_actions = array (