Francois Gouget : testbot/web: Remove an unused reference to CGI::Cookie.

Alexandre Julliard julliard at winehq.org
Tue Jul 11 13:55:06 CDT 2017


Module: tools
Branch: master
Commit: 9b237187edb63efb9b38561df1650d589aebdd47
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=9b237187edb63efb9b38561df1650d589aebdd47

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jul 11 12:40:06 2017 +0200

testbot/web: Remove an unused reference to CGI::Cookie.

All the cookie contains is the session id. So to log out a user all we
need to do is delete the server-side session id. This instantly
invalidates the client-side cookie and thus there is no need to use
CGI:Cookie to modify it.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/Logout.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testbot/web/Logout.pl b/testbot/web/Logout.pl
index 6e6abc2..417232d 100644
--- a/testbot/web/Logout.pl
+++ b/testbot/web/Logout.pl
@@ -24,7 +24,6 @@ package LogoutPage;
 use ObjectModel::CGI::Page;
 use WineTestBot::CGI::Sessions;
 use CGI qw(:standard);
-use CGI::Cookie;
 
 @LogoutPage::ISA = qw(ObjectModel::CGI::Page);
 




More information about the wine-cvs mailing list