mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
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
This commit is contained in:
parent
0b832f968e
commit
1f7c2e7b73
@ -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