Remove debug code

This commit is contained in:
2026-04-16 14:59:28 +02:00
parent 5527e50edd
commit f9a183941e
2 changed files with 0 additions and 6 deletions

View File

@@ -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; }

View File

@@ -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 {