mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-06-26 06:29:31 +02:00
Fixing $allowed_actions to be private for 3.1 compatibility
This commit is contained in:
parent
b8c6bfd3ee
commit
9bbf420e0d
|
@ -248,7 +248,7 @@ class BlogEntry extends Page {
|
|||
|
||||
class BlogEntry_Controller extends Page_Controller {
|
||||
|
||||
static $allowed_actions = array(
|
||||
private static $allowed_actions = array(
|
||||
'index',
|
||||
'trackbackping',
|
||||
'unpublishPost',
|
||||
|
|
|
@ -167,7 +167,8 @@ class BlogHolder extends BlogTree implements PermissionProvider {
|
|||
}
|
||||
|
||||
class BlogHolder_Controller extends BlogTree_Controller {
|
||||
static $allowed_actions = array(
|
||||
|
||||
private static $allowed_actions = array(
|
||||
'index',
|
||||
'tag',
|
||||
'date',
|
||||
|
|
|
@ -233,7 +233,7 @@ class BlogTree extends Page {
|
|||
|
||||
class BlogTree_Controller extends Page_Controller {
|
||||
|
||||
static $allowed_actions = array(
|
||||
private static $allowed_actions = array(
|
||||
'index',
|
||||
'rss',
|
||||
'tag',
|
||||
|
|
Loading…
Reference in New Issue
Block a user