mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
♻️ Remove unused param
This commit is contained in:
parent
388e9cdf03
commit
334ad6b42e
3 changed files with 8 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue