From 27bd51393826b5faa9c331f104df9d2f4ef65140 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 31 Oct 2013 10:38:08 +0100 Subject: [PATCH] Fixed static visibility --- code/VersionFeed.php | 5 +++-- code/VersionFeed_Controller.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/code/VersionFeed.php b/code/VersionFeed.php index bd2ec6d..1ad182d 100644 --- a/code/VersionFeed.php +++ b/code/VersionFeed.php @@ -1,11 +1,12 @@ 'Boolean' ); - static $defaults = array( + private static $defaults = array( 'PublicHistory' => true ); diff --git a/code/VersionFeed_Controller.php b/code/VersionFeed_Controller.php index 3f31ea0..a1f22b3 100644 --- a/code/VersionFeed_Controller.php +++ b/code/VersionFeed_Controller.php @@ -2,7 +2,7 @@ class VersionFeed_Controller extends Extension { - static $allowed_actions = array( + private static $allowed_actions = array( 'changes', 'allchanges' );