summaryrefslogtreecommitdiff
path: root/Assistant/Sync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-30 15:39:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-30 15:39:15 -0400
commit07cd1b2b40735d460c8225762fcf3992b9886c60 (patch)
treec08c38417dfd9cba94ac56e212fa9d5864927ac0 /Assistant/Sync.hs
parentbab7e83221468905b76e28bb123ebe26e146b97b (diff)
pushed Assistant monad down into DaemonStatus code
Currently have three old versions of functions that more reworking is needed to remove: getDaemonStatusOld, modifyDaemonStatusOld_, and modifyDaemonStatusOld
Diffstat (limited to 'Assistant/Sync.hs')
-rw-r--r--Assistant/Sync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs
index 0bb49973a..b071bc80f 100644
--- a/Assistant/Sync.hs
+++ b/Assistant/Sync.hs
@@ -154,6 +154,6 @@ manualPull currentbranch remotes = do
{- Start syncing a newly added remote, using a background thread. -}
syncNewRemote :: Remote -> Assistant ()
syncNewRemote remote = do
- liftAnnex . updateSyncRemotes =<< getAssistant daemonStatusHandle
+ updateSyncRemotes
thread <- asIO2 reconnectRemotes
void $ liftIO $ forkIO $ thread False [remote]