♻️ Remove unused param

This commit is contained in:
Liang Ding 2023-04-04 10:37:18 +08:00
parent 388e9cdf03
commit 334ad6b42e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 8 additions and 13 deletions

View file

@ -450,7 +450,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
if !force {
if Conf.Sync.Enabled && 3 != Conf.Sync.Mode &&
((IsSubscriber() && conf.ProviderSiYuan == Conf.Sync.Provider) || conf.ProviderSiYuan != Conf.Sync.Provider) {
syncData(false, true, false)
syncData(true, false)
if 0 != ExitSyncSucc {
exitCode = 1
return