diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index a0a7c717b..8794b21d2 100644 --- a/install.php +++ b/install.php @@ -379,7 +379,7 @@ function install_settings_form_submit($form_id, $form_values) { * Find all .profile files. */ function install_find_profiles() { - return file_scan_directory('./profiles', '\.profile$', array('.', '..', 'CVS'), 0, TRUE, 'name', 0); + return file_scan_directory('./profiles', '\.profile$', array('.', '..', 'CVS'), 0, TRUE, 'name', 0); } /** @@ -617,7 +617,7 @@ function install_task_list($active = NULL) { 'database' => st('Database setup'), 'install' => st('Installation'), ); - + // Remove profiles if only one profile exists. if (count(install_find_profiles()) == 1) { unset($tasks['profile']); |