Francois Gouget : testbot/cgi: Remove Page::SetError(): it is not used anymore.

Alexandre Julliard julliard at winehq.org
Mon Jul 11 15:52:59 CDT 2022


Module: tools
Branch: master
Commit: db32e3d2608f0a5e6a7561215c4c1e263332305c
URL:    https://gitlab.winehq.org/winehq/tools/-/commit/db32e3d2608f0a5e6a7561215c4c1e263332305c

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Jul 11 18:46:11 2022 +0200

testbot/cgi: Remove Page::SetError(): it is not used anymore.

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

---

 testbot/lib/ObjectModel/CGI/Page.pm | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/testbot/lib/ObjectModel/CGI/Page.pm b/testbot/lib/ObjectModel/CGI/Page.pm
index a8268754..1d8a59fe 100644
--- a/testbot/lib/ObjectModel/CGI/Page.pm
+++ b/testbot/lib/ObjectModel/CGI/Page.pm
@@ -382,13 +382,6 @@ sub AddError($$;$)
   return $ErrMessage;
 }
 
-# FIXME: For legacy code, to be removed.
-sub SetError($$$)
-{
-  my ($self, $ErrField, $ErrMessage) = @_;
-  $self->AddError($ErrMessage, $ErrField);
-}
-
 sub ResetErrors($)
 {
   my ($self) = @_;




More information about the wine-cvs mailing list