Remove unnecessary checks

This commit is contained in:
arkon 2020-04-29 09:42:56 -04:00
parent fe65f4d6f8
commit 8992f47915

View File

@ -33,9 +33,7 @@ object Migrations {
if (BuildConfig.INCLUDE_UPDATER) { if (BuildConfig.INCLUDE_UPDATER) {
UpdaterJob.setupTask(context) UpdaterJob.setupTask(context)
} }
if (preferences.automaticExtUpdates().get()) {
ExtensionUpdateJob.setupTask(context) ExtensionUpdateJob.setupTask(context)
}
return false return false
} }
@ -81,10 +79,8 @@ object Migrations {
BackupCreatorJob.setupTask(context) BackupCreatorJob.setupTask(context)
// New extension update check job // New extension update check job
if (preferences.automaticExtUpdates().get()) {
ExtensionUpdateJob.setupTask(context) ExtensionUpdateJob.setupTask(context)
} }
}
return true return true
} }
return false return false