<?php
namespace wcf\system\event\listener;
+use wcf\data\user\UserAction;
use wcf\system\WCF;
/**
* @inheritDoc
*/
public function execute($eventObj, $className, $eventName, array &$parameters) {
+ /** @var UserAction $eventObj */
+
$userID = $eventObj->getObjects()[0]->userID;
$username = $eventObj->getParameters()['data']['username'];
<?php
namespace wcf\system\event\listener;
+use wcf\acp\form\UserMergeForm;
use wcf\system\database\util\PreparedStatementConditionBuilder;
use wcf\system\WCF;
* @inheritDoc
*/
public function execute($eventObj, $className, $eventName, array &$parameters) {
+ /** @var UserMergeForm $eventObj */
+
foreach ($this->databaseTables as $databaseTable) {
if (!is_array($databaseTable)) {
$databaseTable = ['name' => $databaseTable];