From f9a183941e0fd63600fe94ad1a48490bdb56ef85 Mon Sep 17 00:00:00 2001 From: Guy Van Sanden Date: Thu, 16 Apr 2026 14:59:28 +0200 Subject: [PATCH] Remove debug code --- css/minimalprofile.css | 3 --- lib/AppInfo/Application.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/css/minimalprofile.css b/css/minimalprofile.css index acbdb56..2324269 100644 --- a/css/minimalprofile.css +++ b/css/minimalprofile.css @@ -1,6 +1,3 @@ -/* Debug - test if CSS loads */ -body { border: 10px solid red !important; } - /* Hide profile fields */ .personal-settings-setting-box:has(#account-property-pronouns) { display: none !important; } .personal-settings-setting-box:has(#account-property-role) { display: none !important; } diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 92a6bf3..b80e7d9 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -20,15 +20,12 @@ class Application extends App implements IBootstrap { } public function register(IRegistrationContext $context): void { - // Register event listener - this fires on EVERY page render after template is built $context->registerEventListener( TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS, function() { Util::addStyle('minimalprofile', 'minimalprofile'); } ); - - file_put_contents('/tmp/minimalprofile.log', date('Y-m-d H:i:s') . ' register, event registered' . "\n", FILE_APPEND); } public function boot(IBootContext $context): void {