Francois Gouget : testbot/Users: Remove the unused current user tracking code.
Alexandre Julliard
julliard at winehq.org
Wed Apr 3 14:29:49 CDT 2013
Module: tools
Branch: master
Commit: c2b91aa379043a5555bc2eaafe47b2bc35f9acc9
URL: http://source.winehq.org/git/tools.git/?a=commit;h=c2b91aa379043a5555bc2eaafe47b2bc35f9acc9
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Apr 3 16:57:25 2013 +0200
testbot/Users: Remove the unused current user tracking code.
Only the web modules have a concept of a 'current user' and they track
him through his session and the PageBase.pm module.
---
testbot/lib/WineTestBot/Users.pm | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/testbot/lib/WineTestBot/Users.pm b/testbot/lib/WineTestBot/Users.pm
index 54c07bf..f29fd5e 100644
--- a/testbot/lib/WineTestBot/Users.pm
+++ b/testbot/lib/WineTestBot/Users.pm
@@ -310,12 +310,11 @@ use WineTestBot::Config;
use WineTestBot::UserRoles;
use WineTestBot::WineTestBotObjects;
-use vars qw (@ISA @EXPORT @PropertyDescriptors $CurrentUser);
+use vars qw (@ISA @EXPORT @PropertyDescriptors);
require Exporter;
@ISA = qw(WineTestBot::WineTestBotCollection Exporter);
- at EXPORT = qw(&CreateUsers &SetCurrentUser &GetCurrentUser &GetBatchUser
- &Authenticate);
+ at EXPORT = qw(&CreateUsers &GetBatchUser &Authenticate);
BEGIN
{
@@ -414,14 +413,4 @@ sub GetBatchUser
return $class->CreateUsers()->GetItem("batch");
}
-sub SetCurrentUser
-{
- $CurrentUser = shift;
-}
-
-sub GetCurrentUser
-{
- return $CurrentUser;
-}
-
1;
More information about the wine-cvs
mailing list