Fix checking for update during install
This commit is contained in:
parent
e7d5360304
commit
fc7950205f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue