mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
Fix array syntax for PHP 5.3 compatibility
This commit is contained in:
@@ -33,7 +33,7 @@ class ApplyFaclsTask extends AbstractTask implements IsReleaseAware
|
|||||||
throw new SkipException('Parameter acl_param not set.');
|
throw new SkipException('Parameter acl_param not set.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$folders = $this->getParameter('folders', []);
|
$folders = $this->getParameter('folders', array());
|
||||||
$recursive = $this->getParameter('recursive', false) ? ' -R ' : ' ';
|
$recursive = $this->getParameter('recursive', false) ? ' -R ' : ' ';
|
||||||
|
|
||||||
foreach ($folders as $folder) {
|
foreach ($folders as $folder) {
|
||||||
|
|||||||
@@ -147,6 +147,6 @@ class LinkSharedFilesTask extends AbstractTask implements IsReleaseAware
|
|||||||
$path = $linkedEntity;
|
$path = $linkedEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [$path, $strategy];
|
return array($path, $strategy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user