From: Marcel Werk Date: Fri, 16 Feb 2024 13:20:58 +0000 (+0100) Subject: Restrict positions for UserListBox X-Git-Tag: 6.0.9_dev_5~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c52e2c0fb4e04591f743a2eac6513a095e87106;p=GitHub%2FWoltLab%2FWCF.git Restrict positions for UserListBox The template is only designed for display in the sidebar. --- diff --git a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php index 4ab7620784..ca9a90e351 100644 --- a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php @@ -39,6 +39,11 @@ class UserListBoxController extends AbstractDatabaseObjectListBoxController */ protected $conditionDefinition = 'com.woltlab.wcf.box.userList.condition'; + /** + * @inheritDoc + */ + protected static $supportedPositions = ['sidebarLeft', 'sidebarRight']; + /** * @inheritDoc */