[interchange] Removed unused code from Menu.pm

Peter Ajamian <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit d992a7d0f85ad1d7a99d20552b1f30ba1a91ec69
Author: Peter Ajamian <[email protected]>
Date:   Thu Dec 15 09:26:40 2011 +1300

    Removed unused code from Menu.pm
    
    The %transform hash in lib/Vend/Menu.pm contains two entries for the
    "first_line" key.  This removes the first one which has always been overriden by
    the second and therefore never used anyways.

 lib/Vend/Menu.pm |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/lib/Vend/Menu.pm b/lib/Vend/Menu.pm
index 5e32574..adb3449 100644
--- a/lib/Vend/Menu.pm
+++ b/lib/Vend/Menu.pm
@@ -57,21 +57,6 @@ my %transform = (
 		}
 		return 1;
 	},
-	first_line => sub {
-		my ($row, $fields) = @_;
-		return undef if ref($fields) ne 'ARRAY';
-		return 1 if $first_line;
-		my $status;
-		for(@$fields) {
-			if(s/^!\s*//) {
-				$status = $status && ! $row->{$_};
-			}
-			else {
-				$status = $status && $row->{$_};
-			}
-		}
-		return $first_line = $status;
-	},
 	last_line => sub {
 		my ($row, $fields) = @_;
 #::logDebug("last_line transform, last_line=$last_line");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.