From cad7a65040852eb9e57e35db88433ecd94aef9e6 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Tue, 15 Oct 2013 10:54:21 +0100 Subject: [PATCH] FIX Setting `$only_available_in` to `private` visibility Config engine throws deprecation warnings when this is accessed through the Config engine --- code/model/Widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/Widget.php b/code/model/Widget.php index a888a4a..ec1b332 100644 --- a/code/model/Widget.php +++ b/code/model/Widget.php @@ -27,7 +27,7 @@ class Widget extends DataObject { 'Enabled' => true ); - public static $only_available_in = array(); + private static $only_available_in = array(); /** * @var array