Skip to content

Commit

Permalink
Item8218: remove core call
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/SkillsPlugin@4502 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jul 17, 2009
1 parent 71a7460 commit bd5c9b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Foswiki/Plugins/SkillsPlugin/SkillsStore.pm
Expand Up @@ -47,13 +47,13 @@ sub _load {
return 1;
}

require Foswiki::LineIterator;
my $it = new Foswiki::LineIterator($fh);
local $/ = "\n";

while ( my $line = <$fh> ) {

while ( $it->hasNext() ) {
my $line = $it->next();
next if $line =~ /^\#.*/; # skip any comments

chomp($line);
$line =~ s/(.*)://g;
my $cat = $1;
my @skills = split( ',', $line );
Expand Down

0 comments on commit bd5c9b0

Please sign in to comment.