summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-13 15:05:39 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-13 15:05:39 -0400
commit7ac44206f2acda5721c88e4f5dd1f09384f9f05e (patch)
treea87a3db319acc7e210693b9224ff482438b5b323 /Assistant
parent4a24dd0e9b1e8edc5db37adf7f305c8369e01d32 (diff)
--debug is passed along to git-annex-shell when git-annex is in debug mode.
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/WebApp.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs
index fd78ba8d8..33d11a0d5 100644
--- a/Assistant/Threads/WebApp.hs
+++ b/Assistant/Threads/WebApp.hs
@@ -49,7 +49,6 @@ import Network.Socket (SockAddr, HostName)
import Data.Text (pack, unpack)
import qualified Network.Wai.Handler.WarpTLS as TLS
import Network.Wai.Middleware.RequestLogger
-import System.Log.Logger
mkYesodDispatch "WebApp" $(parseRoutesFile "Assistant/WebApp/routes")
@@ -138,9 +137,3 @@ getTlsSettings = do
#else
return Nothing
#endif
-
-{- Checks if debugging is actually enabled. -}
-debugEnabled :: IO Bool
-debugEnabled = do
- l <- getRootLogger
- return $ getLevel l <= Just DEBUG