Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

API 3.1 compatibility: Static configurable properties must be private…

… and immutable.

Static configurable properties (db, allowed_actions, etc) are now private. See: http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#static-properties-are-immutable-and-private-you-must-use-config-api
  • Loading branch information...
commit 1f7c2e7b73289e3ccb2551a452bc3d3b6754fd61 1 parent 0b832f9
@tractorcow tractorcow authored
View
2  code/controllers/GoogleSitemapController.php
@@ -17,7 +17,7 @@ class GoogleSitemapController extends Controller {
/**
* @var array
*/
- public static $allowed_actions = array(
+ private static $allowed_actions = array(
'index',
'sitemap'
);
View
2  code/extensions/GoogleSitemapSiteTreeExtension.php
@@ -8,7 +8,7 @@ class GoogleSitemapSiteTreeExtension extends GoogleSitemapExtension {
/**
* @var array
*/
- public static $db = array(
+ private static $db = array(
"Priority" => "Varchar(5)"
);
Please sign in to comment.
Something went wrong with that request. Please try again.