Fix short array syntax in DashboardConfig
This commit is contained in:
parent
9bc9b78643
commit
34344915f2
|
@ -55,7 +55,7 @@ class DashboardConfig extends Config
|
||||||
*/
|
*/
|
||||||
public static function listConfigFilesForUser(User $user)
|
public static function listConfigFilesForUser(User $user)
|
||||||
{
|
{
|
||||||
$files = [];
|
$files = array();
|
||||||
$dashboards = static::resolvePath('dashboards');
|
$dashboards = static::resolvePath('dashboards');
|
||||||
if ($handle = @opendir($dashboards)) {
|
if ($handle = @opendir($dashboards)) {
|
||||||
while (false !== ($entry = readdir($handle))) {
|
while (false !== ($entry = readdir($handle))) {
|
||||||
|
|
Loading…
Reference in New Issue