diff --git a/Mage/Task/BuiltIn/Filesystem/ApplyFaclsTask.php b/Mage/Task/BuiltIn/Filesystem/ApplyFaclsTask.php index 3f40ee7..116f826 100644 --- a/Mage/Task/BuiltIn/Filesystem/ApplyFaclsTask.php +++ b/Mage/Task/BuiltIn/Filesystem/ApplyFaclsTask.php @@ -33,7 +33,7 @@ class ApplyFaclsTask extends AbstractTask implements IsReleaseAware throw new SkipException('Parameter acl_param not set.'); } - $folders = $this->getParameter('folders', []); + $folders = $this->getParameter('folders', array()); $recursive = $this->getParameter('recursive', false) ? ' -R ' : ' '; foreach ($folders as $folder) { diff --git a/Mage/Task/BuiltIn/Filesystem/LinkSharedFilesTask.php b/Mage/Task/BuiltIn/Filesystem/LinkSharedFilesTask.php index 2682b86..e7010cb 100644 --- a/Mage/Task/BuiltIn/Filesystem/LinkSharedFilesTask.php +++ b/Mage/Task/BuiltIn/Filesystem/LinkSharedFilesTask.php @@ -147,6 +147,6 @@ class LinkSharedFilesTask extends AbstractTask implements IsReleaseAware $path = $linkedEntity; } - return [$path, $strategy]; + return array($path, $strategy); } }