Jarek Radosz 02ca6fa6c8 DEV: See if the store is external before checking disk space (#8480)
`available_disk_space` calls `df` which exits with an error if the `uploads` path doesn't exist. That's often the case when the `Discourse.store.external?` is true.

By doing the `external?` check first the `disable_if_low_on_disk_space` does less work and doesn't output any errors to the console.
2019-12-09 12:48:45 +11:00
..
2019-12-05 11:53:10 -05:00
2019-10-21 12:08:20 +01:00
2019-12-04 13:33:51 -05:00
2019-05-22 17:39:44 +03:00
2019-12-04 13:33:51 -05:00
2019-12-05 13:50:33 -05:00
2019-10-21 12:08:20 +01:00