Remove maintenance feature

This commit is contained in:
2026-04-03 14:53:05 +02:00
parent 946c269d42
commit d33c7a748b
11 changed files with 28 additions and 889 deletions

View File

@@ -9,7 +9,7 @@ if (!defined('DOKU_INC')) die();
class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
{
/** @var string[] Calendar slot keys */
protected $calendarSlotKeys = ['general', 'maintenance', 'slot3', 'slot4'];
protected $calendarSlotKeys = ['general', 'slot2', 'slot3', 'slot4'];
/** @var string[] */
protected $configKeys = [
@@ -38,12 +38,12 @@ class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
'calendar_general_password',
'calendar_general_color',
'calendar_general_display',
'calendar_maintenance_file',
'calendar_maintenance_caldav_url',
'calendar_maintenance_username',
'calendar_maintenance_password',
'calendar_maintenance_color',
'calendar_maintenance_display',
'calendar_slot2_file',
'calendar_slot2_caldav_url',
'calendar_slot2_username',
'calendar_slot2_password',
'calendar_slot2_color',
'calendar_slot2_display',
'calendar_slot3_file',
'calendar_slot3_caldav_url',
'calendar_slot3_username',
@@ -278,9 +278,9 @@ class admin_plugin_luxtools_main extends DokuWiki_Admin_Plugin
// Calendar slot settings
$slotLabels = [
'general' => 'General',
'maintenance' => 'Maintenance',
'slot3' => 'Slot 3',
'slot4' => 'Slot 4',
'slot2' => 'Slot 2',
'slot3' => 'Slot 3',
'slot4' => 'Slot 4',
];
$displayOptions = [
'none' => (string)$this->getLang('calendar_slot_display_none'),