Fix checking for update during install

This commit is contained in:
grandeljay 2022-02-23 17:49:37 +01:00
parent e7d5360304
commit fc7950205f

View file

@ -86,7 +86,7 @@ if ($options) {
*/ */
use Github\Client; use Github\Client;
if ($options) { if ($options && !isset($_POST['step'])) {
$updateLastChecked = $options->getOption('updateLastChecked'); $updateLastChecked = $options->getOption('updateLastChecked');
if (!$updateLastChecked || time() - $updateLastChecked >= 86400) { if (!$updateLastChecked || time() - $updateLastChecked >= 86400) {