Permalink
Browse files

Merge pull request #37 from tractorcow/3.1-static-update

API 3.1 compatibility: Static configurable properties must be private and immutable.
  • Loading branch information...
2 parents 0b832f9 + 1f7c2e7 commit eadc9603415cf7dcd7d4fac2abc6019cbd03818a @wilr committed Apr 2, 2013
@@ -17,7 +17,7 @@ class GoogleSitemapController extends Controller {
/**
* @var array
*/
- public static $allowed_actions = array(
+ private static $allowed_actions = array(
'index',
'sitemap'
);
@@ -8,7 +8,7 @@ class GoogleSitemapSiteTreeExtension extends GoogleSitemapExtension {
/**
* @var array
*/
- public static $db = array(
+ private static $db = array(
"Priority" => "Varchar(5)"
);

0 comments on commit eadc960

Please sign in to comment.