6d76addd57d36b686f23b594d8b8f4be67f31226
[GitHub/WoltLab/woltlab.github.io.git] /
1 <?php
2
3 namespace wcf\system\event\listener;
4
5 use wcf\acp\action\UserExportGdprAction;
6
7 /**
8 * Adds the ip addresses stored with the person information during user data export.
9 *
10 * @author Matthias Schmidt
11 * @copyright 2001-2021 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\System\Event\Listener
14 */
15 class PersonUserExportGdprListener extends AbstractEventListener
16 {
17 protected function onExport(UserExportGdprAction $action): void
18 {
19 $action->ipAddresses['com.woltlab.wcf.people'] = ['wcf' . WCF_N . '_person_information'];
20 }
21 }