From 9637114f6ba5c4240c3a4dfc81b9962c08fc3ee0 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Sat, 4 Apr 2026 12:31:08 +0200 Subject: [PATCH] Clean up flash key legacy code and extract import.php inline styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit App::consumeFlash() had 18-line legacy fallback chains reading from seven old session keys (error, admin_error, edit_error, form_error, success, admin_success, edit_success) that were written by no code in the codebase. All action handlers have used App::flash() -> _flash_error / _flash_success since the App class was introduced. Removed the dead fallbacks; consumeFlash() is now 4 lines. admin/import.php was the last admin template with inline style= attributes. Extracted four of them to named CSS classes in admin.css: - admin-error-list — error