From bf90817fb95f8e5b8ab6bb5d87e4c9c74ef06d1e Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Thu, 20 Aug 2020 04:08:14 +0000 Subject: [PATCH] Remove unused constructor `MsgRemovingDatabaseEntity`. --- lib/core/src/Cardano/DB/Sqlite.hs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/core/src/Cardano/DB/Sqlite.hs b/lib/core/src/Cardano/DB/Sqlite.hs index e2074d63516..6ebcd025ea6 100644 --- a/lib/core/src/Cardano/DB/Sqlite.hs +++ b/lib/core/src/Cardano/DB/Sqlite.hs @@ -372,7 +372,6 @@ data DBLog | MsgWaitingForDatabase Text (Maybe Int) | MsgRemovingInUse Text Int | MsgRemoving Text - | MsgRemovingDatabaseEntity Text | MsgRemovingDatabaseFile Text DeleteSqliteDatabaseLog | MsgManualMigrationNeeded DBField Text | MsgManualMigrationNotNeeded DBField @@ -449,7 +448,6 @@ instance HasSeverityAnnotation DBLog where MsgWaitingForDatabase _ _ -> Info MsgRemovingInUse _ _ -> Notice MsgRemoving _ -> Info - MsgRemovingDatabaseEntity _ -> Notice MsgRemovingDatabaseFile _ msg -> getSeverityAnnotation msg MsgManualMigrationNeeded{} -> Notice MsgManualMigrationNotNeeded{} -> Debug @@ -486,8 +484,6 @@ instance ToText DBLog where "Attempting to remove the database anyway." MsgRemoving wid -> "Removing wallet's database. Wallet id was " <> wid - MsgRemovingDatabaseEntity msg -> - "Removing the following entity from the database: " <> msg MsgRemovingDatabaseFile wid msg -> "Removing " <> wid <> ": " <> toText msg MsgManualMigrationNeeded field value -> mconcat