[tools] testbot/cgi: PageBase does not need Apache2::ServerRec.

Francois Gouget fgouget at codeweavers.com
Mon Apr 4 11:14:36 CDT 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
The commit 4852169f1 says this was added to "Fix problem for Paul".
But I don't see any reference to the Apache2::ServerRec API in PageBase.
So I'm in favor of removing the Apache2::ServerRec import and readding
it with a proper comment if something breaks.
In any case it still works without it here.
---
 testbot/lib/WineTestBot/CGI/PageBase.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testbot/lib/WineTestBot/CGI/PageBase.pm b/testbot/lib/WineTestBot/CGI/PageBase.pm
index 4837b9f54..3073ac220 100644
--- a/testbot/lib/WineTestBot/CGI/PageBase.pm
+++ b/testbot/lib/WineTestBot/CGI/PageBase.pm
@@ -39,7 +39,6 @@ use Exporter 'import';
 our @EXPORT = qw(CreatePageBase);
 
 use Apache2::Const -compile => qw(REDIRECT);
-use Apache2::ServerRec;
 use CGI::Cookie;
 use URI::Escape;
 use WineTestBot::CGI::Sessions;
-- 
2.30.2




More information about the wine-devel mailing list