Fixing $allowed_actions to be private for 3.1 compatibility

This commit is contained in:
Sean Harvey 2013-04-04 15:24:53 +13:00
parent b8c6bfd3ee
commit 9bbf420e0d
3 changed files with 4 additions and 3 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',