[bugzilla-gnome-org-extensions] 4.4 migration: Remove dead code



commit 475cd36d32d2ac0e7380d6f99e8ef1228ca656bf
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Tue Nov 18 11:02:29 2014 +0100

    4.4 migration: Remove dead code
    
    It was used by a proxy and I am going to remove that too.

 lib/WSSplinter.pm |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/lib/WSSplinter.pm b/lib/WSSplinter.pm
index dbc9eac..300dc27 100644
--- a/lib/WSSplinter.pm
+++ b/lib/WSSplinter.pm
@@ -31,24 +31,6 @@ use Bugzilla::Extension::Splinter::WebServiceUtil;
 
 use base qw(Bugzilla::WebService);
 
-sub info {
-    my $user = Bugzilla->login;
-
-    my $results = {
-       version => 1
-    };
-
-    if ($user->login ne '') {
-       $results->{'logged_in'} = 1;
-       $results->{'login'} = $user->login;
-       $results->{'name'} = $user->name;
-    } else {
-       $results->{'logged_in'} = 0;
-    }
-
-    return $results;
-}
-
 # The idea of this method is to be able to
 #
 #  - Add a comment with says "Review of attachment <id>:" rather than


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]