Skip to content

Commit a446e4b

Browse files
committed
Script: User: add timestamp to kwon how long it takes to unify a user - refs BT#22702
1 parent 64fbd53 commit a446e4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/scripts/unify_duplicated_user_based_on_extra_field_value.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@
5656
continue;
5757
}
5858
if ($uid === $userIdToUnifyOn) { continue; }
59-
60-
echo 'Unifying user ' . $uid . ' on user ' . $userIdToUnifyOn . PHP_EOL;
59+
$now = date('Y-m-d H:i:s');
60+
echo $now . ' Unifying user ' . $uid . ' on user ' . $userIdToUnifyOn . PHP_EOL;
6161
MySpace::duUpdateAllUserRefsList($uid, $userIdToUnifyOn);
6262
MySpace::duDisableOrDeleteUser($uid, $unifyMode);
63+
$now = date('Y-m-d H:i:s');
64+
echo $now . ' User unified' . PHP_EOL;
6365
}
6466
}
6567
}

0 commit comments

Comments
 (0)