Module: tools Branch: master Commit: 4183255c15a3b6f4d1cf20b8eb384c63332b0267 URL: https://source.winehq.org/git/tools.git/?a=commit;h=4183255c15a3b6f4d1cf20b8...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Apr 30 23:46:29 2018 +0200
testbot/web: Add a WineTestBot::Users import.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/web/index.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/testbot/web/index.pl b/testbot/web/index.pl index 72bd307..3e5a481 100644 --- a/testbot/web/index.pl +++ b/testbot/web/index.pl @@ -25,7 +25,10 @@ use ObjectModel::CGI::CollectionBlock; our @ISA = qw(ObjectModel::CGI::CollectionBlock);
use URI::Escape; + use WineTestBot::Branches; +use WineTestBot::Users; +
sub SortKeys($$) @@ -70,7 +73,7 @@ sub GetDisplayValue($$$)
if ($PropertyDescriptor->GetName() eq "User" && defined($Item->Patch) && - $Item->User->GetKey() eq WineTestBot::Users->GetBatchUser()->GetKey() && + $Item->User->GetKey() eq GetBatchUser()->GetKey() && defined($Item->Patch->FromName)) { return $Item->Patch->FromName;