From 4eb761088d005613eff6dfc83f82cb2fc5c1eb5f Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sun, 7 Jun 2026 17:40:11 +1000 Subject: [PATCH] Remove unused method --- bouquin/db.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bouquin/db.py b/bouquin/db.py index 4a4e451..35888a9 100644 --- a/bouquin/db.py +++ b/bouquin/db.py @@ -1525,17 +1525,6 @@ class DBManager: ).fetchone() return int(row["minutes"] or 0) - def time_log_count_for_project(self, project_id: int) -> int: - try: - project_id = self._normalise_project_id(project_id) - except (TypeError, ValueError): - return 0 - row = self.conn.execute( - "SELECT COUNT(*) AS c FROM time_log WHERE project_id = ?;", - (project_id,), - ).fetchone() - return int(row["c"] or 0) - def project_bucket_status(self, project_id: int) -> dict[str, object] | None: """Return computed bucket state for a project.