17 import(
'lib.pkp.classes.user.PKPUserAction');
24 if (!parent::mergeUsers($oldUserId, $newUserId))
return false;
28 $paymentFactory = $paymentDao->getByUserId($oldUserId);
29 while ($payment = $paymentFactory->next()) {
30 $payment->setUserId($newUserId);
31 $paymentDao->updateObject($payment);