Remove unused code

This commit is contained in:
2026-02-20 18:02:05 +01:00
parent 328a507a9f
commit acd427b2ce
18 changed files with 3 additions and 1616 deletions

View File

@@ -59,12 +59,6 @@ class action_plugin_luxtools extends ActionPlugin
$this,
"renderVirtualChronologicalDayPage",
);
$controller->register_hook(
"CSS_STYLES_INCLUDED",
"BEFORE",
$this,
"addTemporaryInputStyles",
);
$controller->register_hook(
"AJAX_CALL_UNKNOWN",
"BEFORE",
@@ -164,27 +158,6 @@ class action_plugin_luxtools extends ActionPlugin
echo $html;
}
/**
* Include temporary global input styling via css.php so @ini_* placeholders resolve.
*
* @param Event $event
* @param mixed $param
* @return void
*/
public function addTemporaryInputStyles(Event $event, $param)
{
if (!isset($event->data['mediatype']) || $event->data['mediatype'] !== 'screen') {
return;
}
if (!isset($event->data['files']) || !is_array($event->data['files'])) {
return;
}
$plugin = $this->getPluginName();
$event->data['files'][DOKU_PLUGIN . $plugin . '/temp-input-colors.css'] = DOKU_BASE . 'lib/plugins/' . $plugin . '/';
}
/**
* Auto-link strict ISO dates (YYYY-MM-DD) in rendered XHTML text nodes.
*