[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH] testbot/web: Add a WineTestBot::Users import.
From:       Francois Gouget <fgouget () codeweavers ! com>
Date:       2018-04-30 21:46:29
Message-ID: E1fDGcv-00007k-Bk () amboise
[Download RAW message or body]

Signed-off-by: Francois Gouget <fgouget@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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic