aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2020-07-14 10:25:48 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-14 10:25:48 +0200
commit877f5f539b82db2e59ecf7257fce18dc9245f310 (patch)
tree7c11e2a65f0b2e626b2bd0b282eb3585530a788d /app/Controllers/configureController.php
parentcada19eb876a3537bb5694c24be2ec159ae6816a (diff)
fix: Test setupMigrations doesn't return false (#3113)
`file_put_contents` can return 0 if there’s nothing to write in the `applied_migrations.txt` file, which is equivalent to `false`. Since there are no migrations yet, this is what happens. Because this value (i.e. `0`) is tested next in the `app/install.php` file, the install script was failing.
Diffstat (limited to 'app/Controllers/configureController.php')
0 files changed, 0 insertions, 0 deletions