mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Link user name in People log view to user page
Summary: Looking at IPs who recently registered more than one account in Phabricator and trying to figure out whether they are spam bots or just all on the same university network, I often want to check recent user activity of these accounts. Hence linking the entries in the User column to their user page comes in handy. Test Plan: Tested on local instance and works as expected. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D16620
This commit is contained in:
parent
32d660c08f
commit
360597d8ee
1 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,6 @@ final class PhabricatorUserLogView extends AphrontView {
|
|||
|
||||
$rows = array();
|
||||
foreach ($logs as $log) {
|
||||
|
||||
$ip = $log->getRemoteAddr();
|
||||
$session = substr($log->getSession(), 0, 6);
|
||||
|
||||
|
@ -62,7 +61,7 @@ final class PhabricatorUserLogView extends AphrontView {
|
|||
$log->getActorPHID()
|
||||
? $handles[$log->getActorPHID()]->getName()
|
||||
: null,
|
||||
$handles[$log->getUserPHID()]->getName(),
|
||||
$username = $handles[$log->getUserPHID()]->renderLink(),
|
||||
$ip,
|
||||
$session,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue