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

API 3.1 compatibility: Static configurable properties must be private and immutable.
This commit is contained in:
Will Rossiter 2013-04-02 01:28:56 -07:00
commit eadc960341
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class GoogleSitemapController extends Controller {
/** /**
* @var array * @var array
*/ */
public static $allowed_actions = array( private static $allowed_actions = array(
'index', 'index',
'sitemap' 'sitemap'
); );

View File

@ -8,7 +8,7 @@ class GoogleSitemapSiteTreeExtension extends GoogleSitemapExtension {
/** /**
* @var array * @var array
*/ */
public static $db = array( private static $db = array(
"Priority" => "Varchar(5)" "Priority" => "Varchar(5)"
); );