mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
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:
commit
eadc960341
@ -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'
|
||||||
);
|
);
|
||||||
|
@ -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)"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user