Selaa lähdekoodia

fix(updatenotification): Skip update check

Signed-off-by: Christopher Ng <chrng8@gmail.com>
tags/v28.0.0beta1
Christopher Ng 10 kuukautta sitten
vanhempi
commit
b63dbae68a
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5
    0
      apps/updatenotification/lib/Notification/BackgroundJob.php

+ 5
- 0
apps/updatenotification/lib/Notification/BackgroundJob.php Näytä tiedosto

@@ -57,6 +57,11 @@ class BackgroundJob extends TimedJob {
}

protected function run($argument) {
// Do not check for updates if not connected to the internet
if (!$this->config->getSystemValueBool('has_internet_connection', true)) {
return;
}

if (\OC::$CLI && !$this->config->getSystemValueBool('debug', false)) {
try {
// Jitter the pinging of the updater server and the appstore a bit.

Loading…
Peruuta
Tallenna