WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Unify automatic deletion of trashed content across all apps

Open BurntimeX opened this issue 4 weeks ago • 0 comments

The automatic deletion of content located in the trash bin is currently implemented inconsistently across the WoltLab Suite.

Problem

  • Automatic trash cleanup exists in Forum, Gallery, Blog, Filebase, and Calendar, but is missing in Database and in the Core (Article system).
  • Each app currently defines its own setting and its own Cronjob for the deletion process.
  • This leads to duplicated logic, inconsistent behavior, and additional maintenance effort.

Proposal

Evaluate whether this functionality can be centralized by introducing:

  • A single global setting in the Core for configuring the automatic deletion interval.
  • One unified Cronjob in the Core that handles trash cleanup for all apps.

All applications would then use this shared mechanism instead of maintaining separate implementations.

Expected Benefits

  • Consistent behavior across all apps
  • Reduced redundancy and simplified configuration
  • Lower maintenance overhead and fewer potential inconsistencies

BurntimeX avatar Dec 01 '25 12:12 BurntimeX