From 5cf2f46e4a37086a0bc875b253e47a2d039e86a6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:38:31 +0000 Subject: [PATCH] BUGFIX: Make RsyncMultiHostPublisher protected; give default value. (from r104672) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112455 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/staticpublisher/RsyncMultiHostPublisher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/staticpublisher/RsyncMultiHostPublisher.php b/code/staticpublisher/RsyncMultiHostPublisher.php index e20b5842..b59a5895 100644 --- a/code/staticpublisher/RsyncMultiHostPublisher.php +++ b/code/staticpublisher/RsyncMultiHostPublisher.php @@ -13,7 +13,7 @@ class RsyncMultiHostPublisher extends FilesystemPublisher { /** * Array of rsync targets to publish to. These can either be local file names, or scp-style targets, in the form "user@server:path" */ - static $targets; + protected static $targets = array(); /** * Set the targets to publish to.