WoltLab / WCF

WoltLab Suite Core (previously WoltLab Community Framework)
https://www.woltlab.com
GNU Lesser General Public License v2.1
238 stars 142 forks source link

Move methods that are used for the configuration of boxes during package installation to commands #5904

Closed BurntimeX closed 4 months ago

BurntimeX commented 5 months ago

Calling BoxHandler::createBoxCondition() and BoxHandler::addBoxToPageAssignments() causes the boxes to be loaded (BoxHandler::init()), which is unnecessary during package installation and can potentially lead to errors.