From deec81fc12ccfdb7ff1ba12f47a71d83c7a4d359 Mon Sep 17 00:00:00 2001 From: pax Date: Wed, 15 Apr 2026 17:50:14 -0500 Subject: [PATCH] db: remove unused Favorite alias Zero callers in source (rg 'Favorite\b' returns only this line). The rename from favorite -> bookmark landed; the alias existed as a fall-back while callers migrated, and nothing still needs it. --- booru_viewer/core/db.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/booru_viewer/core/db.py b/booru_viewer/core/db.py index a802bc2..1890683 100644 --- a/booru_viewer/core/db.py +++ b/booru_viewer/core/db.py @@ -185,10 +185,6 @@ class Bookmark: tag_categories: dict = field(default_factory=dict) -# Back-compat alias — will be removed in a future version. -Favorite = Bookmark - - class Database: def __init__(self, path: Path | None = None) -> None: self._path = path or db_path()