3 namespace wcf\system\event\listener;
5 use wcf\system\cronjob\PruneIpAddressesCronjob;
8 * Prunes old ip addresses.
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
15 class PersonPruneIpAddressesCronjobListener extends AbstractEventListener
17 protected function onExecute(PruneIpAddressesCronjob $cronjob): void
19 $cronjob->columns['wcf' . WCF_N . '_person_information']['ipAddress'] = 'time';