Skip to content

Commit 25fb036

Browse files
committed
Remove dead method in aggregator get_open_message_provider
`get_open_message_id_condition` even after several month it was not used anywhere.
1 parent 0ea6a84 commit 25fb036

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mithril-aggregator/src/database/provider/open_message/get_open_message.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@ impl<'client> GetOpenMessageProvider<'client> {
4141
pub fn get_expired_entity_type_condition(&self, now: &str) -> WhereCondition {
4242
WhereCondition::new("expires_at < ?*", vec![Value::String(now.to_string())])
4343
}
44-
45-
// Useful in test and probably in the future.
46-
#[allow(dead_code)]
47-
fn get_open_message_id_condition(&self, open_message_id: &str) -> WhereCondition {
48-
WhereCondition::new(
49-
"open_message_id = ?*",
50-
vec![Value::String(open_message_id.to_owned())],
51-
)
52-
}
5344
}
5445

5546
impl<'client> Provider<'client> for GetOpenMessageProvider<'client> {

0 commit comments

Comments
 (0)