[PATCH] testbot/web: Add a WineTestBot::Users import.

Francois Gouget fgouget at codeweavers.com
Mon Apr 30 16:46:29 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 72bd307d5..3e5a48106 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;
-- 
2.17.0



More information about the wine-devel mailing list