Fix short array syntax in DashboardConfig

This commit is contained in:
Eric Lippmann 2016-01-29 08:44:31 +01:00
parent 9bc9b78643
commit 34344915f2
1 changed files with 1 additions and 1 deletions

View File

@ -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))) {